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
|
apiVersion: v2
|
||||||
name: dispatch
|
name: dispatch
|
||||||
description: Netflix Dispatch incident management system
|
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 }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command: {{ .Values.core.container.command }}
|
command: {{ .Values.core.container.command }}
|
||||||
|
env: {{ .Values.core.container.env }}
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.core.container.envFrom.secretRef.name }}
|
name: {{ .Values.core.container.envFrom.secretRef.name }}
|
||||||
|
|
|
@ -20,6 +20,7 @@ spec:
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command: {{ .Values.scheduler.container.command }}
|
command: {{ .Values.scheduler.container.command }}
|
||||||
|
env: {{ .Values.scheduler.container.env }}
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.scheduler.container.envFrom.secretRef.name }}
|
name: {{ .Values.scheduler.container.envFrom.secretRef.name }}
|
||||||
|
|
|
@ -26,6 +26,7 @@ spec:
|
||||||
command: {{ .Values.web.container.command }}
|
command: {{ .Values.web.container.command }}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.web.container.port }}
|
- containerPort: {{ .Values.web.container.port }}
|
||||||
|
env: {{ .Values.web.container.env }}
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.web.container.envFrom.secretRef.name }}
|
name: {{ .Values.web.container.envFrom.secretRef.name }}
|
||||||
|
|
|
@ -15,6 +15,7 @@ initContainers:
|
||||||
core:
|
core:
|
||||||
enabled: true
|
enabled: true
|
||||||
container:
|
container:
|
||||||
|
env: []
|
||||||
envFrom:
|
envFrom:
|
||||||
secretRef:
|
secretRef:
|
||||||
name: dispatch-secret
|
name: dispatch-secret
|
||||||
|
@ -24,6 +25,7 @@ web:
|
||||||
container:
|
container:
|
||||||
port: 8000
|
port: 8000
|
||||||
command: ["dispatch", "server", "start", "dispatch.main:app", "--host=0.0.0.0"]
|
command: ["dispatch", "server", "start", "dispatch.main:app", "--host=0.0.0.0"]
|
||||||
|
env: []
|
||||||
envFrom:
|
envFrom:
|
||||||
secretRef:
|
secretRef:
|
||||||
name: dispatch-secret
|
name: dispatch-secret
|
||||||
|
@ -35,6 +37,7 @@ scheduler:
|
||||||
enabled: true
|
enabled: true
|
||||||
container:
|
container:
|
||||||
command: ["dispatch", "scheduler", "start"]
|
command: ["dispatch", "scheduler", "start"]
|
||||||
|
env: []
|
||||||
envFrom:
|
envFrom:
|
||||||
secretRef:
|
secretRef:
|
||||||
name: dispatch-secret
|
name: dispatch-secret
|
||||||
|
|
Loading…
Reference in a new issue