Manage Helm repositories.
Version added: 0.11.0
- Manage Helm repositories.
The below requirements are needed on the host that executes this module.
- name: Add a repository
kubernetes.core.helm_repository:
name: stable
repo_url: https://kubernetes.github.io/ingress-nginx
- name: Add Red Hat Helm charts repository
kubernetes.core.helm_repository:
name: redhat-charts
repo_url: https://redhat-developer.github.com/redhat-helm-charts
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
command
string
|
always |
Full `helm` command built by this module, in case you want to re-run the command outside the module or debug a problem.
Sample:
/usr/local/bin/helm repo add bitnami https://charts.bitnami.com/bitnami
|
msg
string
|
on failure |
Error message returned by `helm` command
Sample:
Repository already have a repository named bitnami
|
stderr
string
|
always |
Full `helm` command stderr, in case you want to display it or examine the event log
|
stderr_lines
list
|
always |
Full `helm` command stderr in list, in case you want to display it or examine the event log
Sample:
['']
|
stdout
string
|
always |
Full `helm` command stdout, in case you want to display it or examine the event log
Sample:
"bitnami" has been added to your repositories
|
stdout_lines
list
|
always |
Full `helm` command stdout in list, in case you want to display it or examine the event log
Sample:
['"bitnami" has been added to your repositories']
|
- Lucas Boisserie (@LucasBoisserie)