community.kubernetes.helm_repository – Manage Helm repositories.

From Get docs
Ansible/docs/2.11/collections/community/kubernetes/helm repository module


community.kubernetes.helm_repository – Manage Helm repositories.

Note

This plugin is part of the community.kubernetes collection (version 1.1.1).

To install it use: ansible-galaxy collection install community.kubernetes.

To use it in a playbook, specify: community.kubernetes.helm_repository.


New in version 0.11.0: of community.kubernetes


Synopsis

  • Manage Helm repositories.

Note

This module has a corresponding action plugin.


Requirements

The below requirements are needed on the host that executes this module.

Parameters

Parameter Choices/Defaults Comments

binary_path

path

The path of a helm binary to use.

repo_name

string / required

Chart repository name.


aliases: name

repo_password

string

Chart repository password for repository with basic auth.

Required if chart_repo_username is specified.


aliases: password

repo_state

string

  • present

  • absent

Desired state of repository.


aliases: state

repo_url

string

Chart repository url


aliases: url

repo_username

string

Chart repository username for repository with basic auth.

Required if chart_repo_password is specified.


aliases: username



Examples

- name: Add default repository
  community.kubernetes.helm_repository:
    name: stable
    repo_url: https://kubernetes-charts.storage.googleapis.com

- name: Add Red Hat Helm charts repository
  community.kubernetes.helm_repository:
    name: redhat-charts
    repo_url: https://redhat-developer.github.com/redhat-helm-charts

Authors

  • Lucas Boisserie (@LucasBoisserie)

© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.11/collections/community/kubernetes/helm_repository_module.html