Disable service links in helm charts

Signed-off-by: schrodit <mail@timschrodi.tech>
This commit is contained in:
schrodit 2023-06-12 13:30:37 +02:00
parent 81c8ae8ff5
commit c70be0a28b
3 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,7 @@ spec:
{{- if hasKey .Values.cainjector "automountServiceAccountToken" }}
automountServiceAccountToken: {{ .Values.cainjector.automountServiceAccountToken }}
{{- end }}
enableServiceLinks: false
{{- with .Values.global.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}

View File

@ -52,6 +52,7 @@ spec:
{{- if hasKey .Values "automountServiceAccountToken" }}
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
{{- end }}
enableServiceLinks: false
{{- with .Values.global.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}

View File

@ -44,6 +44,7 @@ spec:
{{- if hasKey .Values.webhook "automountServiceAccountToken" }}
automountServiceAccountToken: {{ .Values.webhook.automountServiceAccountToken }}
{{- end }}
enableServiceLinks: false
{{- with .Values.global.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}