Skip to content

Commit

Permalink
Add support for any extra volume type not just emptyDir
Browse files Browse the repository at this point in the history
  • Loading branch information
antvick committed Oct 17, 2022
1 parent 845f8fa commit f1ea127
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions charts/kminion/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ spec:
secret:
secretName: {{.secretName}}
{{- end}}
{{- range .Values.deployment.volumes.emptyDir}}
- name: {{.name}}
emptyDir: {}
{{- end}}
{{- with .Values.deployment.volumes.extra }}
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
{{- with .Values.deployment.initContainers }}
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit f1ea127

Please sign in to comment.