Skip to content

Commit

Permalink
Helm: fix environment variables location (#332)
Browse files Browse the repository at this point in the history
Fix environment variable in daemonset

Environment variables have to be set on container level

Co-authored-by: Aliaksei Anikiyenka <[email protected]>
Co-authored-by: Simon Marty <[email protected]>
  • Loading branch information
3 people authored Mar 27, 2024
1 parent 99bfaae commit 7455827
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ spec:
- name: mountpoint-dir
mountPath: {{ .Values.kubeletPath }}/pods
mountPropagation: HostToContainer
{{- if .Values.useFipsEndpoint }}
env:
- name: AWS_USE_FIPS_ENDPOINT
value: {{ .Values.useFipsEndpoint | quote }}
{{- end }}
volumes:
- name: providervol
hostPath:
Expand Down Expand Up @@ -77,8 +82,3 @@ spec:
affinity:
{{ toYaml . | indent 8 }}
{{- end }}
{{- if .Values.useFipsEndpoint }}
env:
- name: AWS_USE_FIPS_ENDPOINT
value: {{ .Values.useFipsEndpoint }}
{{- end }}

0 comments on commit 7455827

Please sign in to comment.