File tree Expand file tree Collapse file tree 8 files changed +11
-11
lines changed
Expand file tree Collapse file tree 8 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 2323 resources : {}
2424 nodeSelector : {{- toYaml .Values.batchJob.nodeSelector | nindent 8 }}
2525 restartPolicy : Never
26- serviceAccountName : {{ default "default" (include "app.serviceAccountName"
27- .) }}
26+ serviceAccountName : {{ include "app.serviceAccountName" . }}
2827 tolerations : {{- toYaml .Values.batchJob.tolerations | nindent 8 }}
2928 topologySpreadConstraints : {{- toYaml .Values.batchJob.topologySpreadConstraints
3029 | nindent 8 }}
Original file line number Diff line number Diff line change 2424 resources : {}
2525 nodeSelector : {{- toYaml .Values.cronJob.nodeSelector | nindent 12 }}
2626 restartPolicy : OnFailure
27- serviceAccountName : {{ default "default" (include "app.serviceAccountName"
28- .) }}
27+ serviceAccountName : {{ include "app.serviceAccountName" . }}
2928 tolerations : {{- toYaml .Values.cronJob.tolerations | nindent 12 }}
3029 topologySpreadConstraints : {{- toYaml .Values.cronJob.topologySpreadConstraints
3130 | nindent 12 }}
Original file line number Diff line number Diff line change 3333 name : varlibdockercontainers
3434 readOnly : true
3535 nodeSelector : {{- toYaml .Values.fluentdElasticsearch.nodeSelector | nindent 8 }}
36- serviceAccountName : {{ default "default" ( include "app.serviceAccountName" .) }}
36+ serviceAccountName : {{ include "app.serviceAccountName" . }}
3737 terminationGracePeriodSeconds : 30
3838 tolerations : {{- toYaml .Values.fluentdElasticsearch.tolerations | nindent 8 }}
3939 topologySpreadConstraints : {{- toYaml .Values.fluentdElasticsearch.topologySpreadConstraints
Original file line number Diff line number Diff line change 9696 resources : {}
9797 nodeSelector : {{- toYaml .Values.myapp.nodeSelector | nindent 8 }}
9898 securityContext : {{- toYaml .Values.myapp.podSecurityContext | nindent 8 }}
99- serviceAccountName : {{ default "default" ( include "app.serviceAccountName" .) }}
99+ serviceAccountName : {{ include "app.serviceAccountName" . }}
100100 terminationGracePeriodSeconds : 10
101101 tolerations : {{- toYaml .Values.myapp.tolerations | nindent 8 }}
102102 topologySpreadConstraints : {{- toYaml .Values.myapp.topologySpreadConstraints | nindent
Original file line number Diff line number Diff line change 3030 - mountPath : /usr/share/nginx/html
3131 name : www
3232 nodeSelector : {{- toYaml .Values.web.nodeSelector | nindent 8 }}
33- serviceAccountName : {{ default "default" (include "app.serviceAccountName" .)
34- }}
33+ serviceAccountName : {{ include "app.serviceAccountName" . }}
3534 tolerations : {{- toYaml .Values.web.tolerations | nindent 8 }}
3635 topologySpreadConstraints : {{- toYaml .Values.web.topologySpreadConstraints |
3736 nindent 8 }}
Original file line number Diff line number Diff line change 9696 nodeSelector : {{- toYaml .Values.controllerManager.nodeSelector | nindent 8 }}
9797 securityContext : {{- toYaml .Values.controllerManager.podSecurityContext | nindent
9898 8 }}
99- serviceAccountName : {{ default "default" (include "operator.serviceAccountName" .)
100- }}
99+ serviceAccountName : {{ include "operator.serviceAccountName" . }}
101100 terminationGracePeriodSeconds : 10
102101 tolerations : {{- toYaml .Values.controllerManager.tolerations | nindent 8 }}
103102 topologySpreadConstraints : {{- toYaml .Values.controllerManager.topologySpreadConstraints
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ metadata:
55 name : {{ include "operator.serviceAccountName" . }}
66 labels :
77 {{- include "operator.labels" . | nindent 4 }}
8+ {{- with .Values.serviceAccount.annotations }}
89 annotations :
9- {{- toYaml .Values.serviceAccount.annotations | nindent 4 }}
10+ {{- toYaml . | nindent 4 }}
11+ {{- end }}
12+ automountServiceAccountToken : {{ .Values.serviceAccount.automount }}
1013{{- end }}
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ secretVars:
9797serviceAccount :
9898 annotations :
9999 k8s.acme.org/some-meta-data : ACME Inc.
100+ automount : true
100101 create : true
101102 name : " "
102103webhookService :
You can’t perform that action at this time.
0 commit comments