Service Account
Appears in
.Values.serviceAccount
Naming scheme
- Primary:
$FullName
(release-name-chart-name) - Non-Primary:
$FullName-$ServiceAccountName
(release-name-chart-name-ServiceAccountName)
Target Selector
targetSelectAll
(bool): Whether to assign the serviceAccount to all pods or not.targetSelector
is ignored in this casetargetSelector
(list): Define the pod(s) to assign the serviceAccounttargetSelector
(empty): Assign the serviceAccount to the primary pod
serviceAccount
Create serviceAccount objects
Key | serviceAccount |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | {} |
Example
serviceAccount.$name
Define serviceAccount
Key | serviceAccount.$name |
Type | map |
Required | ✅ |
Helm tpl | ❌ |
Default | {} |
Example
enabled
Enables or Disables the serviceAccount
Key | serviceAccount.$name.enabled |
Type | bool |
Required | ✅ |
Helm tpl | ✅ |
Default | false |
Example
primary
Sets the serviceAccount as primary
Key | serviceAccount.$name.primary |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | false |
Example
namespace
Define the namespace for this object
Key | serviceAccount.$name.namespace |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Example
labels
Additional labels for service account
Key | serviceAccount.$name.labels |
Type | map |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | {} |
Example
annotations
Additional annotations for service account
Key | serviceAccount.$name.annotations |
Type | map |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | {} |
Example
targetSelectAll
Whether to assign the serviceAccount to all pods or not
Key | serviceAccount.$name.targetSelectAll |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | unset |
Example
targetSelector
Define the pod(s) to assign the serviceAccount
Key | serviceAccount.$name.targetSelector |
Type | list of string |
Required | ❌ |
Helm tpl | ❌ |
Default | [] |
Example