.. _kubernetes.core.helm_registry_auth_module:
**********************************
kubernetes.core.helm_registry_auth
**********************************
**Helm registry authentication module**
Version added: 5.1.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- Helm registry authentication module allows you to login ``helm registry login`` and logout ``helm registry logout`` from a Helm registry.
Requirements
------------
The below requirements are needed on the host that executes this module.
- helm (https://github.com/helm/helm/releases) >= 3.8.0
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
binary_path
path
|
|
The path of a helm binary to use.
|
|
ca_file
path
|
|
Path to the CA certificate SSL file for verify registry server certificate.
|
|
cert_file
path
|
|
Path to the client certificate SSL file for identify registry client using this certificate file.
|
|
host
string
/ required
|
|
Provide a URL for accessing the registry.
aliases: registry_url
|
|
insecure
boolean
|
|
Allow connections to SSL sites without certs.
|
|
key_file
path
|
|
Path to the client key SSL file for identify registry client using this key file.
|
|
password
string
|
|
Password for the registry.
aliases: repo_password
|
|
plain_http
boolean
added in 6.4.0
|
|
Use insecure HTTP connections for helm registry login.
Requires Helm >= 3.18.0
|
|
state
string
|
Choices:
present ←
- absent
|
Desired state of the registry.
If set to V(present) attempt to log in to the remote registry server using the URL specified in O(host).
If set to V(absent) attempt to log out from the remote registry server using the URL specified in O(host).
As helm >= 3.18.0 reports successful logout even if the user is not logged in, this module will report a change regardless of the current state.
|
|
username
string
|
|
Username for the registry.
aliases: repo_username
|