File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed
kubernetes-ingress/templates Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 5353 shareProcessNamespace : true
5454 {{- end }}
5555 serviceAccountName : {{ include "haproxy.serviceAccountName" . }}
56+ {{- if hasKey .Values.serviceAccount "automountServiceAccountToken" }}
57+ automountServiceAccountToken : {{ .Values.serviceAccount.automountServiceAccountToken }}
58+ {{- end }}
5659 terminationGracePeriodSeconds : {{ .Values.terminationGracePeriodSeconds }}
5760 {{- if $useHostNetwork }}
5861 hostNetwork : true
Original file line number Diff line number Diff line change 6060 shareProcessNamespace : true
6161 {{- end }}
6262 serviceAccountName : {{ include "haproxy.serviceAccountName" . }}
63+ {{- if hasKey .Values.serviceAccount "automountServiceAccountToken" }}
64+ automountServiceAccountToken : {{ .Values.serviceAccount.automountServiceAccountToken }}
65+ {{- end }}
6366 terminationGracePeriodSeconds : {{ .Values.terminationGracePeriodSeconds }}
6467 securityContext :
6568 {{- toYaml .Values.podSecurityContext | nindent 8 }}
Original file line number Diff line number Diff line change 6060 spec :
6161 enableServiceLinks : {{ .Values.controller.enableServiceLinks }}
6262 serviceAccountName : {{ include "kubernetes-ingress.serviceAccountName" . }}
63+ {{- if hasKey .Values.serviceAccount "automountServiceAccountToken" }}
64+ automountServiceAccountToken : {{ .Values.serviceAccount.automountServiceAccountToken }}
65+ {{- end }}
6366 terminationGracePeriodSeconds : {{ .Values.controller.terminationGracePeriodSeconds }}
6467 {{- if $useHostNetwork }}
6568 hostNetwork : true
Original file line number Diff line number Diff line change 5959 spec :
6060 enableServiceLinks : {{ .Values.controller.enableServiceLinks }}
6161 serviceAccountName : {{ include "kubernetes-ingress.serviceAccountName" . }}
62+ {{- if hasKey .Values.serviceAccount "automountServiceAccountToken" }}
63+ automountServiceAccountToken : {{ .Values.serviceAccount.automountServiceAccountToken }}
64+ {{- end }}
6265 terminationGracePeriodSeconds : {{ .Values.controller.terminationGracePeriodSeconds }}
6366{{- with .Values.controller.topologySpreadConstraints }}
6467 topologySpreadConstraints :
You can’t perform that action at this time.
0 commit comments