chore(dispatch) restructuring values

This commit is contained in:
Tommy 2023-12-16 17:17:51 +01:00
parent 698d9e1f15
commit 306bf62730
No known key found for this signature in database
3 changed files with 6 additions and 7 deletions

View file

@ -1,4 +1,4 @@
apiVersion: v2
name: dispatch
description: Netflix Dispatch incident management system
version: 0.2.3
version: 0.2.4

View file

@ -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 }}"

View file

@ -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
secretName: dispatch-secret