diff --git a/charts/modjo-microservice/templates/rollout-deployment.yaml b/charts/modjo-microservice/templates/rollout-deployment.yaml index e66341d..951551e 100644 --- a/charts/modjo-microservice/templates/rollout-deployment.yaml +++ b/charts/modjo-microservice/templates/rollout-deployment.yaml @@ -110,8 +110,8 @@ spec: - name: DATABASE_URL valueFrom: secretKeyRef: - name: {{ .Values.application.pg.dsnSecretName }} - key: {{ .Values.application.pg.dsnSecretKey }} + name: {{ .Values.application.pg.uriSecretName }} + key: {{ .Values.application.pg.uriSecretKey }} {{- end }} {{- if .Values.application.hasura.enabled }} - name: HASURA_GRAPHQL_URL @@ -131,8 +131,8 @@ spec: - name: AMQP_URL valueFrom: secretKeyRef: - name: {{ .Values.application.amqp.dsnSecretName }} - key: {{ .Values.application.amqp.dsnSecretKey }} + name: {{ .Values.application.amqp.uriSecretName }} + key: {{ .Values.application.amqp.uriSecretKey }} {{- end }} {{- if .Values.application.minio.enabled }} - name: MINIO_ENDPOINT diff --git a/charts/modjo-microservice/values.yaml b/charts/modjo-microservice/values.yaml index 8de517f..9b3e9ba 100644 --- a/charts/modjo-microservice/values.yaml +++ b/charts/modjo-microservice/values.yaml @@ -14,12 +14,12 @@ application: logRequests: false pg: enabled: false - dsnSecretName: pg - dsnSecretKey: dsn + uriSecretName: pg + uriSecretKey: uri amqp: enabled: false - dsnSecretName: amqp - dsnSecretKey: dsn + uriSecretName: amqp + uriSecretKey: uri hasura: enabled: false graphqlUrl: http://hasura:8080/v1/graphql