feat(dispatch) add enabled flags for the components. Separate secrets so that they can be referenced in each chart. Add a few initial notes.
This commit is contained in:
parent
cde310d6bc
commit
7251f5bbc2
4 changed files with 8 additions and 7 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.6
|
version: 0.1.8
|
||||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
- name: scheduler
|
- name: scheduler
|
||||||
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.command }}
|
command: {{ .Values.scheduler.container.command }}
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.scheduler.container.envFrom.secretRef.name }}
|
name: {{ .Values.scheduler.container.envFrom.secretRef.name }}
|
||||||
|
|
|
@ -23,7 +23,7 @@ spec:
|
||||||
- name: web
|
- name: web
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command: {{ .Values.web.command }}
|
command: {{ .Values.web.container.command }}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.web.container.port }}
|
- containerPort: {{ .Values.web.container.port }}
|
||||||
envFrom:
|
envFrom:
|
||||||
|
|
|
@ -14,6 +14,8 @@ initContainers:
|
||||||
|
|
||||||
core:
|
core:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
container:
|
||||||
|
envFrom:
|
||||||
secretRef:
|
secretRef:
|
||||||
name: dispatch-secret
|
name: dispatch-secret
|
||||||
|
|
||||||
|
@ -31,9 +33,8 @@ web:
|
||||||
|
|
||||||
scheduler:
|
scheduler:
|
||||||
enabled: true
|
enabled: true
|
||||||
command: ["dispatch", "scheduler", "start"]
|
|
||||||
container:
|
container:
|
||||||
command: ["dispatch", "scheduler"]
|
command: ["dispatch", "scheduler", "start"]
|
||||||
envFrom:
|
envFrom:
|
||||||
secretRef:
|
secretRef:
|
||||||
name: dispatch-secret
|
name: dispatch-secret
|
||||||
|
|
Loading…
Reference in a new issue