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 apiVersion: v2
name: dispatch name: dispatch
description: Netflix Dispatch incident management system 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 }}" image: "{{ .Values.initContainers.dbInit.image.repository }}:{{ .Values.initContainers.dbInit.image.tag }}"
envFrom: envFrom:
- secretRef: - secretRef:
name: {{ .Values.postgres.secretRef.name }} name: {{ .Values.postgres.secretName }}
containers: containers:
- name: core - name: core
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"

View file

@ -1,4 +1,4 @@
envFromSecret: &secret dispatch-secret envFromSecret: dispatch-secret
image: image:
repository: ghcr.io/tommy-skaug/dispatch repository: ghcr.io/tommy-skaug/dispatch
@ -12,7 +12,7 @@ initContainers:
tag: "16" tag: "16"
envFrom: envFrom:
- secretRef: - secretRef:
name: *secret name: dispatch-secret
url: http://localhost:80 url: http://localhost:80
@ -32,5 +32,4 @@ postgres:
hostname: "postgres-rw.databases.svc.cluster.local" hostname: "postgres-rw.databases.svc.cluster.local"
database_name: "dispatch" database_name: "dispatch"
port: "5432" port: "5432"
secretRef: secretName: dispatch-secret
name: *secret