Skip to content

Commit

Permalink
Disable service links in helm charts
Browse files Browse the repository at this point in the history
Signed-off-by: schrodit <mail@timschrodi.tech>
  • Loading branch information
schrodit committed Jun 12, 2023
1 parent 81c8ae8 commit c70be0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Expand Up @@ -45,6 +45,7 @@ spec:
{{- if hasKey .Values.cainjector "automountServiceAccountToken" }}
automountServiceAccountToken: {{ .Values.cainjector.automountServiceAccountToken }}
{{- end }}
enableServiceLinks: false
{{- with .Values.global.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions deploy/charts/cert-manager/templates/deployment.yaml
Expand Up @@ -52,6 +52,7 @@ spec:
{{- if hasKey .Values "automountServiceAccountToken" }}
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
{{- end }}
enableServiceLinks: false
{{- with .Values.global.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}
Expand Down
Expand Up @@ -44,6 +44,7 @@ spec:
{{- if hasKey .Values.webhook "automountServiceAccountToken" }}
automountServiceAccountToken: {{ .Values.webhook.automountServiceAccountToken }}
{{- end }}
enableServiceLinks: false
{{- with .Values.global.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}
Expand Down

0 comments on commit c70be0a

Please sign in to comment.