diff --git a/deploy/helm/Chart.yaml b/deploy/helm/Chart.yaml index 4d5d46e..3ae6191 100644 --- a/deploy/helm/Chart.yaml +++ b/deploy/helm/Chart.yaml @@ -4,6 +4,6 @@ description: SpaceONE config Helm chart for Kubernetes type: application -version: 1.1.1 +version: 1.1.2 appVersion: 1.x.y diff --git a/deploy/helm/templates/deployment-scheduler.yaml b/deploy/helm/templates/deployment-scheduler.yaml index 2c2d1af..3c9e86c 100644 --- a/deploy/helm/templates/deployment-scheduler.yaml +++ b/deploy/helm/templates/deployment-scheduler.yaml @@ -52,6 +52,9 @@ spec: mountPath: /opt/spaceone/{{ .Values.name }}/config/application.yaml subPath: application.yaml readOnly: true +{{- if .Values.volumeMounts.application_scheduler }} +{{- toYaml .Values.volumeMounts.application_scheduler | nindent 12 }} +{{- end }} env: - name: SPACEONE_CONFIG_FILE value: /opt/spaceone/{{ .Values.name }}/config/config.yaml diff --git a/deploy/helm/templates/deployment-worker.yaml b/deploy/helm/templates/deployment-worker.yaml index fa72296..21865d8 100644 --- a/deploy/helm/templates/deployment-worker.yaml +++ b/deploy/helm/templates/deployment-worker.yaml @@ -52,6 +52,9 @@ spec: mountPath: /opt/spaceone/{{ .Values.name }}/config/application.yaml subPath: application.yaml readOnly: true +{{- if .Values.volumeMounts.application_worker }} +{{- toYaml .Values.volumeMounts.application_worker | nindent 12 }} +{{- end }} env: - name: SPACEONE_CONFIG_FILE value: /opt/spaceone/{{ .Values.name }}/config/config.yaml diff --git a/deploy/helm/templates/deployment.yaml b/deploy/helm/templates/deployment.yaml index eac6e84..ab2368d 100644 --- a/deploy/helm/templates/deployment.yaml +++ b/deploy/helm/templates/deployment.yaml @@ -52,6 +52,9 @@ spec: mountPath: /opt/spaceone/{{ .Values.name }}/config/application.yaml subPath: application.yaml readOnly: true +{{- if .Values.volumeMounts.application }} +{{- toYaml .Values.volumeMounts.application | nindent 12 }} +{{- end }} env: - name: SPACEONE_CONFIG_FILE value: /opt/spaceone/{{ .Values.name }}/config/config.yaml