chore(dispatch) restructuring values

This commit is contained in:
Tommy 2023-12-16 17:56:15 +01:00
parent 306bf62730
commit 4d5e982db0
No known key found for this signature in database
4 changed files with 13 additions and 13 deletions

View file

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

View file

@ -27,13 +27,13 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: DISPATCH_UI_URL
value: {{ .Values.url }}
value: "{{ .Values.url }}"
- name: DATABASE_HOSTNAME
value: {{ .Values.postgres.hostname }}
value: "{{ .Values.postgres.hostname }}"
- name: DATABASE_PORT
value: {{ .Values.postgres.port }}
value: "{{ .Values.postgres.port }}"
- name: DATABASE_NAME
value: {{ .Values.postgres.database_name }}
value: "{{ .Values.postgres.database_name }}"
envFrom:
- secretRef:
name: {{ .Values.envFromSecret }}

View file

@ -22,13 +22,13 @@ spec:
command: ["dispatch", "scheduler", "start"]
env:
- name: DISPATCH_UI_URL
value: {{ .Values.url }}
value: "{{ .Values.url }}"
- name: DATABASE_HOSTNAME
value: {{ .Values.postgres.hostname }}
value: "{{ .Values.postgres.hostname }}"
- name: DATABASE_PORT
value: {{ .Values.postgres.port }}
value: "{{ .Values.postgres.port }}"
- name: DATABASE_NAME
value: {{ .Values.postgres.database_name }}
value: "{{ .Values.postgres.database_name }}"
envFrom:
- secretRef:
name: {{ .Values.envFromSecret }}

View file

@ -29,13 +29,13 @@ spec:
- containerPort: 8000
env:
- name: DISPATCH_UI_URL
value: {{ .Values.url }}
value: "{{ .Values.url }}"
- name: DATABASE_HOSTNAME
value: {{ .Values.postgres.hostname }}
value: "{{ .Values.postgres.hostname }}"
- name: DATABASE_PORT
value: {{ .Values.postgres.port }}
value: "{{ .Values.postgres.port }}"
- name: DATABASE_NAME
value: {{ .Values.postgres.database_name }}
value: "{{ .Values.postgres.database_name }}"
envFrom:
- secretRef:
name: {{ .Values.envFromSecret }}