diff --git a/charts/dispatch/Chart.yaml b/charts/dispatch/Chart.yaml index ad7686c..0003fb1 100644 --- a/charts/dispatch/Chart.yaml +++ b/charts/dispatch/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v2 name: dispatch description: Netflix Dispatch incident management system -version: 0.2.3 \ No newline at end of file +version: 0.2.4 \ No newline at end of file diff --git a/charts/dispatch/templates/core-deployment.yaml b/charts/dispatch/templates/core-deployment.yaml index 59e9ebc..e9fec48 100644 --- a/charts/dispatch/templates/core-deployment.yaml +++ b/charts/dispatch/templates/core-deployment.yaml @@ -20,7 +20,7 @@ spec: image: "{{ .Values.initContainers.dbInit.image.repository }}:{{ .Values.initContainers.dbInit.image.tag }}" envFrom: - secretRef: - name: {{ .Values.postgres.secretRef.name }} + name: {{ .Values.postgres.secretName }} containers: - name: core image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" diff --git a/charts/dispatch/values.yaml b/charts/dispatch/values.yaml index e80c1d2..3b83e17 100644 --- a/charts/dispatch/values.yaml +++ b/charts/dispatch/values.yaml @@ -1,8 +1,8 @@ -envFromSecret: &secret dispatch-secret +envFromSecret: dispatch-secret image: repository: ghcr.io/tommy-skaug/dispatch - tag: v20230919 + tag: v20230919 pullPolicy: Always initContainers: @@ -12,7 +12,7 @@ initContainers: tag: "16" envFrom: - secretRef: - name: *secret + name: dispatch-secret url: http://localhost:80 @@ -32,5 +32,4 @@ postgres: hostname: "postgres-rw.databases.svc.cluster.local" database_name: "dispatch" port: "5432" - secretRef: - name: *secret \ No newline at end of file + secretName: dispatch-secret \ No newline at end of file