Adds option to turn off automount service account token for deployment
Signed-off-by: emilkor1 <emilkordahl@gmail.com>
This commit is contained in:
parent
dc999d81da
commit
f8326d9e87
4 changed files with 10 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |-
|
artifacthub.io/changes: |-
|
||||||
- "Update Ingress-Nginx version controller-v1.10.0"
|
- "Adds option to turn off automount of service account token"
|
||||||
artifacthub.io/prerelease: "false"
|
artifacthub.io/prerelease: "false"
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 1.10.0
|
appVersion: 1.10.0
|
||||||
|
@ -19,4 +19,4 @@ maintainers:
|
||||||
name: ingress-nginx
|
name: ingress-nginx
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/kubernetes/ingress-nginx
|
- https://github.com/kubernetes/ingress-nginx
|
||||||
version: 4.10.0
|
version: 4.10.1
|
||||||
|
|
|
@ -45,6 +45,7 @@ spec:
|
||||||
{{- toYaml .Values.controller.podLabels | nindent 8 }}
|
{{- toYaml .Values.controller.podLabels | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
|
||||||
{{- if .Values.controller.dnsConfig }}
|
{{- if .Values.controller.dnsConfig }}
|
||||||
dnsConfig: {{ toYaml .Values.controller.dnsConfig | nindent 8 }}
|
dnsConfig: {{ toYaml .Values.controller.dnsConfig | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -39,6 +39,7 @@ spec:
|
||||||
{{- toYaml .Values.defaultBackend.podLabels | nindent 8 }}
|
{{- toYaml .Values.defaultBackend.podLabels | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
automountServiceAccountToken: {{ .Values.defaultBackend.automountServiceAccountToken }}
|
||||||
{{- if .Values.imagePullSecrets }}
|
{{- if .Values.imagePullSecrets }}
|
||||||
imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 8 }}
|
imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -939,6 +939,9 @@ defaultBackend:
|
||||||
create: true
|
create: true
|
||||||
name: ""
|
name: ""
|
||||||
automountServiceAccountToken: true
|
automountServiceAccountToken: true
|
||||||
|
# -- Automount service account token on controller deployment
|
||||||
|
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
|
||||||
|
automountServiceAccountToken: true
|
||||||
# -- Additional environment variables to set for defaultBackend pods
|
# -- Additional environment variables to set for defaultBackend pods
|
||||||
extraEnvs: []
|
extraEnvs: []
|
||||||
port: 8080
|
port: 8080
|
||||||
|
@ -1068,6 +1071,9 @@ serviceAccount:
|
||||||
automountServiceAccountToken: true
|
automountServiceAccountToken: true
|
||||||
# -- Annotations for the controller service account
|
# -- Annotations for the controller service account
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
# -- Automount service account token on controller deployment
|
||||||
|
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
|
||||||
|
automountServiceAccountToken: true
|
||||||
# -- 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/
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|
Loading…
Reference in a new issue