Secret
Appears in
.Values.secret
Naming scheme
$FullName-$SecretName(release-name-chart-name-secret-name)
secret
Create Secret objects
| Key | secret | 
| Type | map | 
| Required | ❌ | 
Helm tpl | ❌ | 
| Default | {} | 
Example
secret: {}$name
Define Secret
| Key | secret.$name | 
| Type | map | 
| Required | ✅ | 
Helm tpl | ❌ | 
| Default | {} | 
Example
secret:  secret-name: {}enabled
Enables or Disables the Secret
| Key | secret.$name.enabled | 
| Type | bool | 
| Required | ✅ | 
Helm tpl | ✅ | 
| Default | false | 
Example
secret:  secret-name:    enabled: truenamespace
Define the namespace for this object
| Key | secret.$name.namespace | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
secret:  secret-name:    namespace: some-namespacelabels
Additional labels for secret
| Key | secret.$name.labels | 
| Type | map | 
| Required | ❌ | 
Helm tpl | ✅ (On value only) | 
| Default | {} | 
Example
secret:  secret-name:    labels:      key: valueannotations
Additional annotations for secret
| Key | secret.$name.annotations | 
| Type | map | 
| Required | ❌ | 
Helm tpl | ✅ (On value only) | 
| Default | {} | 
Example
secret:  secret-name:    annotations:      key: valuetype
Define the type of the secret
| Key | secret.$name.type | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | Opaque | 
Example
secret:  secret-name:    type: some-custom-typedata
Define the data of the secret
| Key | secret.$name.data | 
| Type | map | 
| Required | ✅ | 
Helm tpl | ✅ | 
| Example | {} | 
secret:  secret-name:    data:      key: valueFull Examples
secret:  secret-name:    enabled: true    type: CustomSecretType    labels:      key: value      keytpl: "{{ .Values.some.value }}"    annotations:      key: value      keytpl: "{{ .Values.some.value }}"    data:      key: value
  other-secret-name:    enabled: true    namespace: some-namespace    data:      key: |        multi line        text value