Skip to content

Commit

Permalink
Mount secrets to /var/run/secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
koslib committed Oct 4, 2022
1 parent 51af899 commit 50d2ae4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
volumeMounts:
{{- range $key, $val := .Values.secrets_volume }}
- name: secrets
mountPath: {{ .Values.secretsVolumeMountPath }}
mountPath: "/var/run/secrets/"
{{- end -}}
{{- end -}}

Expand Down
1 change: 0 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,5 @@ containerCommand:

# Mount secrets as volumes
secretsVolumeEnabled: false # defaults to false. If it exists
secretsVolumeMountPath: "/var/run/secrets/"
secrets_volume:
# some_secret_file.json: some-sensitive-value # this will be mounted as a volume in the path defined above

0 comments on commit 50d2ae4

Please sign in to comment.