diff --git a/helm/schedulerservice/templates/deployment.yaml b/helm/schedulerservice/templates/deployment.yaml index 526b2f5..16fc8ab 100644 --- a/helm/schedulerservice/templates/deployment.yaml +++ b/helm/schedulerservice/templates/deployment.yaml @@ -112,8 +112,7 @@ spec: mountPath: {{ .Values.config.mountPath }} {{- end }} - name: db-config - mountPath: /etc/onlinesales/config/schedulerService/hibernate.cfg.xml - subPath: hibernate.cfg.xml + mountPath: /etc/onlinesales/db readOnly: true {{- with .Values.env }} env: diff --git a/helm/schedulerservice/values-local.yaml b/helm/schedulerservice/values-local.yaml index 1478cb3..56788f4 100644 --- a/helm/schedulerservice/values-local.yaml +++ b/helm/schedulerservice/values-local.yaml @@ -83,7 +83,7 @@ config: files: schedulerService.cfg: | LOG_CONFIG_FILE=/etc/onlinesales/config/schedulerService/log.cfg - DB_CONFIG_FILE=/etc/onlinesales/config/schedulerService/hibernate.cfg.xml + DB_CONFIG_FILE=/etc/onlinesales/db/hibernate.cfg.xml authConfig.cfg: | { "authEnable": false, diff --git a/helm/schedulerservice/values.yaml b/helm/schedulerservice/values.yaml index 7d0d795..faa5c4e 100644 --- a/helm/schedulerservice/values.yaml +++ b/helm/schedulerservice/values.yaml @@ -116,7 +116,7 @@ config: files: schedulerService.cfg: | LOG_CONFIG_FILE=/etc/onlinesales/config/schedulerService/log.cfg - DB_CONFIG_FILE=/etc/onlinesales/config/schedulerService/hibernate.cfg.xml + DB_CONFIG_FILE=/etc/onlinesales/db/hibernate.cfg.xml authConfig.cfg: | { "authEnable": false,