Adding annotations to the controller service account (#8173)
* fix: adding annotations to the controller service account * fix: adding annotations to the controller service account
This commit is contained in:
parent
6eecefd3da
commit
0c2070ef4a
3 changed files with 6 additions and 0 deletions
|
@ -473,6 +473,7 @@ Kubernetes: `>=1.19.0-0`
|
||||||
| rbac.create | bool | `true` | |
|
| rbac.create | bool | `true` | |
|
||||||
| rbac.scope | bool | `false` | |
|
| rbac.scope | bool | `false` | |
|
||||||
| revisionHistoryLimit | int | `10` | Rollback limit |
|
| revisionHistoryLimit | int | `10` | Rollback limit |
|
||||||
|
| serviceAccount.annotations | object | `{}` | Annotations for the controller service account |
|
||||||
| serviceAccount.automountServiceAccountToken | bool | `true` | |
|
| serviceAccount.automountServiceAccountToken | bool | `true` | |
|
||||||
| serviceAccount.create | bool | `true` | |
|
| serviceAccount.create | bool | `true` | |
|
||||||
| serviceAccount.name | string | `""` | |
|
| serviceAccount.name | string | `""` | |
|
||||||
|
|
|
@ -10,5 +10,9 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "ingress-nginx.serviceAccountName" . }}
|
name: {{ template "ingress-nginx.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
|
{{- if .Values.serviceAccount.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml .Values.serviceAccount.annotations | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -888,6 +888,7 @@ serviceAccount:
|
||||||
create: true
|
create: true
|
||||||
name: ""
|
name: ""
|
||||||
automountServiceAccountToken: true
|
automountServiceAccountToken: true
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
# -- Optional array of imagePullSecrets containing private registry credentials
|
# -- Optional array of imagePullSecrets containing private registry credentials
|
||||||
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||||
|
|
Loading…
Reference in a new issue