Documentation
PLEASE NOTE: This document applies to v2.19 version and not to the latest stable release v2.20
Documentation for other releases can be found by using the version selector in the top right of any doc page.helm_info
Get information about Helm releases in Kubernetes clusters.
Attributes
check_mode:
support: none
Parameters
| Parameter | Required | Type | Values | Description |
|---|---|---|---|---|
| context | string | Kubernetes context to use. | ||
| kubeconfig | string | Path to kubeconfig file. | ||
| name | string | Release name. If omitted, lists all releases. | ||
| namespace | string | Kubernetes namespace. [default: default] |
Example
- name: Get release info
helm_info:
name: myapp
namespace: production
register: release_info
- name: List all releases
helm_info:
register: all_releases
- name: Get release info with specific context
helm_info:
name: myapp
namespace: production
context: minikube
register: release_info
- name: Get release info with specific kubeconfig
helm_info:
name: myapp
kubeconfig: /path/to/kubeconfig
register: release_info