Image Pull Secret
Appears in
.Values.imagePullSecret
Naming scheme
$FullName-$ImagePullSecretName(release-name-chart-name-imagePullSecretName)
Target Selector
targetSelectAll(bool): Whether to assign the secret to all pods or not.targetSelectoris ignored in this casetargetSelector(list): Define the pod(s) to assign the secrettargetSelector(empty): Assign the secret to the primary pod
imagePullSecret
Define image pull secrets
| Key | imagePullSecret |
| Type | map |
| Required | ❌ |
Helm tpl | ❌ |
| Default | {} |
Example
imagePullSecret: {}$name
Define image pull secret
| Key | imagePullSecret.$name |
| Type | map |
| Required | ✅ |
Helm tpl | ❌ |
| Default | {} |
Example
imagePullSecret: pull-secret-name: {}enabled
Enables or Disables the image pull secret
| Key | imagePullSecret.$name.enabled |
| Type | bool |
| Required | ✅ |
Helm tpl | ✅ |
| Default | false |
Example
imagePullSecret: pull-secret-name: enabled: trueexistingSecret
Define the existing secret name
| Key | imagePullSecret.$name.existingSecret |
| Type | string |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
imagePullSecret: pull-secret-name: enabled: true existingSecret: some-existing-secretnamespace
Define the namespace for this object
| Key | imagePullSecret.$name.namespace |
| Type | string |
| Required | ❌ |
Helm tpl | ✅ (On value only) |
| Default | "" |
Example
imagePullSecret: pull-secret-name: namespace: some-namespacelabels
Additional labels for image pull secret
| Key | imagePullSecret.$name.labels |
| Type | map |
| Required | ❌ |
Helm tpl | ✅ (On value only) |
| Default | {} |
Example
imagePullSecret: pull-secret-name: labels: key: valueannotations
Additional annotations for image pull secret
| Key | imagePullSecret.$name.annotations |
| Type | map |
| Required | ❌ |
Helm tpl | ✅ (On value only) |
| Default | {} |
Example
imagePullSecret: pull-secret-name: annotations: key: valuetargetSelectAll
Whether to assign the secret to all pods or not
| Key | imagePullSecret.$name.targetSelectAll |
| Type | bool |
| Required | ❌ |
Helm tpl | ❌ |
| Default | unset |
Example
imagePullSecret: pull-secret-name: targetSelectAll: truetargetSelector
Define the pod(s) to assign the secret
| Key | imagePullSecret.$name.targetSelector |
| Type | list of string |
| Required | ❌ |
Helm tpl | ❌ |
| Default | [] |
Example
imagePullSecret: pull-secret-name: targetSelector: - workload-name1 - workload-name2data
Define the data of the image pull secret
| Key | imagePullSecret.$name.data |
| Type | map |
| Required | ✅ |
Helm tpl | ❌ |
| Default | {} |
Example
imagePullSecret: pull-secret-name: data: {}data.registry
Define the registry of the image pull secret
| Key | imagePullSecret.$name.data.registry |
| Type | string |
| Required | ✅ |
Helm tpl | ✅ |
| Default | "" |
Example
imagePullSecret: pull-secret-name: data: registry: quay.iodata.username
Define the username of the image pull secret
| Key | imagePullSecret.$name.data.username |
| Type | string |
| Required | ✅ |
Helm tpl | ✅ |
| Default | "" |
Example
imagePullSecret: pull-secret-name: data: username: my_userdata.password
Define the password of the image pull secret
| Key | imagePullSecret.$name.data.password |
| Type | string |
| Required | ✅ |
Helm tpl | ✅ |
| Default | "" |
Example
imagePullSecret: pull-secret-name: data: password: my_passdata.email
Define the email of the image pull secret
| Key | imagePullSecret.$name.data.email |
| Type | string |
| Required | ✅ |
Helm tpl | ✅ |
| Default | "" |
Example
imagePullSecret: pull-secret-name: data:Full Examples
imagePullSecret:
pull-secret-name: enabled: true namespace: some-namespace labels: key: value keytpl: "{{ .Values.some.value }}" annotations: key: value keytpl: "{{ .Values.some.value }}" data: registry: quay.io username: my_user password: my_pass targetSelectAll: true
other-pull-secret-name: enabled: true namespace: some-namespace data: registry: "{{ .Values.my_registry }}" username: "{{ .Values.my_user }}" password: "{{ .Values.my_pass }}" email: "{{ .Values.my_mail }}" targetSelector: - workload-name1 - workload-name2