.. _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
| Key | Returned | Description |
|---|---|---|
|
command
string
|
always |
Full
helm command executedSample:
/usr/local/bin/helm registry login oci-registry.domain.example --username=admin --password-stdin --insecure
|
|
failed
boolean
|
always |
Indicate if the
helm command failed |
|
stderr
string
|
always |
Full
helm command stderr, in case you want to display it or examine the event log.Please note that the helm binary may print messages to stderr even if the command is successful.
On Helm versions earlier than 4.2.1, success messages such as
Login Succeeded are printed here; as of Helm 4.2.1 they are printed to stdout (see https://github.com/helm/helm/pull/32056).Sample:
Login Succeeded\n
|
|
stderr_lines
list
|
always |
Full
helm command stderr, in case you want to display it or examine the event log |
|
stdout
string
|
always |
Full
helm command stdout, in case you want to display it or examine the event log.As of Helm 4.2.1 success messages such as
Login Succeeded are printed to stdout (see https://github.com/helm/helm/pull/32056). On earlier versions they are printed to stderr.Sample:
Login Succeeded\n
|
|
stdout_lines
list
|
always |
Full
helm command stdout, in case you want to display it or examine the event log |