feat(dispatch) add support for env
This commit is contained in:
parent
7251f5bbc2
commit
b012e109a5
5 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
apiVersion: v2
|
||||
name: dispatch
|
||||
description: Netflix Dispatch incident management system
|
||||
version: 0.1.8
|
||||
version: 0.1.9
|
||||
|
|
|
@ -26,6 +26,7 @@ spec:
|
|||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
command: {{ .Values.core.container.command }}
|
||||
env: {{ .Values.core.container.env }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ .Values.core.container.envFrom.secretRef.name }}
|
||||
|
|
|
@ -20,6 +20,7 @@ spec:
|
|||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
command: {{ .Values.scheduler.container.command }}
|
||||
env: {{ .Values.scheduler.container.env }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ .Values.scheduler.container.envFrom.secretRef.name }}
|
||||
|
|
|
@ -26,6 +26,7 @@ spec:
|
|||
command: {{ .Values.web.container.command }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.web.container.port }}
|
||||
env: {{ .Values.web.container.env }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ .Values.web.container.envFrom.secretRef.name }}
|
||||
|
|
|
@ -15,6 +15,7 @@ initContainers:
|
|||
core:
|
||||
enabled: true
|
||||
container:
|
||||
env: []
|
||||
envFrom:
|
||||
secretRef:
|
||||
name: dispatch-secret
|
||||
|
@ -24,6 +25,7 @@ web:
|
|||
container:
|
||||
port: 8000
|
||||
command: ["dispatch", "server", "start", "dispatch.main:app", "--host=0.0.0.0"]
|
||||
env: []
|
||||
envFrom:
|
||||
secretRef:
|
||||
name: dispatch-secret
|
||||
|
@ -35,6 +37,7 @@ scheduler:
|
|||
enabled: true
|
||||
container:
|
||||
command: ["dispatch", "scheduler", "start"]
|
||||
env: []
|
||||
envFrom:
|
||||
secretRef:
|
||||
name: dispatch-secret
|
||||
|
|
Loading…
Reference in a new issue