mirror of
https://github.com/bitnami/charts.git
synced 2026-03-02 08:05:03 +08:00
feat: Support extraLabels for serviceAccount (#17088)
Signed-off-by: christianacca <christian.crowhurst@gmail.com> Signed-off-by: Rafael Ríos Saavedra <rrios@vmware.com> Co-authored-by: Rafael Ríos Saavedra <rrios@vmware.com>
This commit is contained in:
committed by
GitHub
parent
6aa39d84cb
commit
9ef8a8eac9
@@ -21,4 +21,4 @@ maintainers:
|
||||
name: aspnet-core
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/aspnet-core
|
||||
version: 4.2.2
|
||||
version: 4.3.1
|
||||
|
||||
@@ -228,6 +228,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `serviceAccount.create` | Specifies whether a ServiceAccount should be created | `true` |
|
||||
| `serviceAccount.name` | The name of the ServiceAccount to use. | `""` |
|
||||
| `serviceAccount.annotations` | Additional custom annotations for the ServiceAccount | `{}` |
|
||||
| `serviceAccount.extraLabels` | Additional labels for the ServiceAccount | `{}` |
|
||||
| `serviceAccount.automountServiceAccountToken` | Automount service account token | `true` |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
@@ -8,6 +8,9 @@ metadata:
|
||||
{{- if .Values.commonLabels }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.serviceAccount.extraLabels }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.serviceAccount.extraLabels "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
annotations:
|
||||
{{- if .Values.serviceAccount.annotations }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.serviceAccount.annotations "context" $) | nindent 4 }}
|
||||
|
||||
@@ -721,6 +721,9 @@ serviceAccount:
|
||||
## @param serviceAccount.annotations Additional custom annotations for the ServiceAccount
|
||||
##
|
||||
annotations: {}
|
||||
## @param serviceAccount.extraLabels Additional labels for the ServiceAccount
|
||||
##
|
||||
extraLabels: {}
|
||||
## @param serviceAccount.automountServiceAccountToken Automount service account token
|
||||
##
|
||||
automountServiceAccountToken: true
|
||||
|
||||
Reference in New Issue
Block a user