Skip to content

Commit

Permalink
fix enableServiceLinks
Browse files Browse the repository at this point in the history
  • Loading branch information
VladStarr committed Jul 25, 2024
1 parent 0391777 commit cf9ef0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dysnix/app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ spec:
{{- include "common.tplvalues.render" (dict "value" .Values.podLabels "context" $) | nindent 8 }}
{{- end }}
spec:
{{- if .Values.enableServiceLinks }}
enableServiceLinks: {{ .Values.enableServiceLinks }}
{{- with .Values.enableServiceLinks }}
enableServiceLinks: {{ . }}
{{- end }}
serviceAccountName: {{ template "app.serviceAccountName" . }}
{{- if kindIs "bool" .Values.automountServiceAccountToken }}
Expand Down
4 changes: 2 additions & 2 deletions dysnix/app/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ spec:
{{- include "common.tplvalues.render" (dict "value" .Values.podLabels "context" $) | nindent 8 }}
{{- end }}
spec:
{{- if .Values.enableServiceLinks }}
enableServiceLinks: {{ .Values.enableServiceLinks }}
{{- with .Values.enableServiceLinks }}
enableServiceLinks: {{ . }}
{{- end }}
serviceAccountName: {{ template "app.serviceAccountName" . }}
{{- if kindIs "bool" .Values.automountServiceAccountToken }}
Expand Down

0 comments on commit cf9ef0a

Please sign in to comment.