flux v2.9.5

Kustomization.spec.kubeConfig.secretRef

SecretRef holds an optional name of a secret that contains a key with the kubeconfig file as the value. If no key is set, the key will default to 'value'. Mutually exclusive with ConfigMapRef. It is recommended that the kubeconfig is self-contained, and the secret is regularly updated if credentials such as a cloud-access-token expire. Cloud specific `cmd-path` auth helpers will not function without adding binaries and credentials to the Pod that is responsible for reconciling Kubernetes resources. Supported only for the generic provider.

2 fields
Kustomization.spec.kubeConfig.secretRef fields and descriptions
Field / TypeDescription
key
string

Key in the Secret, when not specified an implementation-specific default key is used.

name
string required

Name of the Secret.