Skip to content

Commit

Permalink
wip(charts): autodefine config volume for tileservergl when using rcl…
Browse files Browse the repository at this point in the history
…oned config [pack]
  • Loading branch information
robinbourianes-kalisio committed Feb 4, 2022
1 parent 7d4c27c commit bc760fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/tileservergl/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ spec:
{{- end }}
volumes:
- name: tileservergl-config
{{- if .Values.configVolume }}
{{- if .Values.rcloneConfig }}
emptyDir: {}
{{- else if .Values.configVolume }}
{{- include "common.tplvalues.render" ( dict "value" .Values.configVolume "context" $ ) | nindent 10 }}
{{- end }}
- name: tileservergl-data
Expand Down

0 comments on commit bc760fa

Please sign in to comment.