diff --git a/hades/templates/deployment.yaml b/hades/templates/deployment.yaml index 7d24160..5d34064 100644 --- a/hades/templates/deployment.yaml +++ b/hades/templates/deployment.yaml @@ -145,10 +145,12 @@ spec: {{- if or .Values.config.enabled .Values.allhosts.enabled }} volumeMounts: {{- if .Values.config.enabled }} + {{- range .Values.config.mountPaths }} - name: config - mountPath: /etc/onlinesales/config/hades + mountPath: {{ . }} readOnly: true {{- end }} + {{- end }} {{- if .Values.allhosts.enabled }} - name: allhosts mountPath: /etc/onlinesales/config/allhosts/allhosts.tsv diff --git a/hades/values-local.yaml b/hades/values-local.yaml index f417d1b..802e6e7 100644 --- a/hades/values-local.yaml +++ b/hades/values-local.yaml @@ -107,6 +107,9 @@ allhosts: # Configuration files for local development config: enabled: true + mountPaths: + - /etc/onlinesales/config/hades + - /etc/onlinesales/db/hadesV2 files: hades.cfg: | { diff --git a/hades/values.yaml b/hades/values.yaml index 6773fc1..a42bf04 100644 --- a/hades/values.yaml +++ b/hades/values.yaml @@ -170,6 +170,8 @@ dbInit: # ConfigMap for application configuration files config: enabled: true + mountPaths: + - /etc/onlinesales/config/hades # Add your configuration files here # files: # hades.cfg: |