diff --git a/charts/archery/Chart.yaml b/charts/archery/Chart.yaml index 702cb81..63a4b31 100644 --- a/charts/archery/Chart.yaml +++ b/charts/archery/Chart.yaml @@ -3,7 +3,7 @@ appVersion: "1.0" home: https://archerydms.com/ description: Archery Helm chart for Kubernetes name: archery -version: 0.2.2 +version: 0.2.3 sources: - https://github.com/hhyo/Archery diff --git a/charts/archery/templates/deployment.yaml b/charts/archery/templates/deployment.yaml index 03b406b..0303df6 100644 --- a/charts/archery/templates/deployment.yaml +++ b/charts/archery/templates/deployment.yaml @@ -77,21 +77,10 @@ spec: {{- with .Values.envs }} {{ toYaml . | nindent 12 }} {{- end}} + {{- with .Values.volumeMounts }} volumeMounts: - - name: archery-settings - subPath: local_settings.py - mountPath: /opt/archery/local_settings.py - - name: archery-settings - subPath: init-archery.sh - mountPath: /opt/archery/src/docker/init-archery.sh - - name: archery-settings - subPath: createsuperuser.py - mountPath: /opt/archery/src/docker/createsuperuser.py - - mountPath: /opt/archery/downloads - name: archery-download - - mountPath: /opt/archery/src/script - name: archery-script - command: ['/bin/bash','/opt/archery/src/docker/init-archery.sh'] + {{- toYaml . | nindent 12 }} + {{- end }} containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" @@ -155,7 +144,7 @@ spec: {{- with .Values.volumeMounts }} volumeMounts: {{- toYaml . | nindent 12 }} - {{- end }} + {{- end }} {{- with .Values.volumes }} volumes: {{- toYaml . | nindent 8 }}