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
|
||||
name: dispatch
|
||||
description: Netflix Dispatch incident management system
|
||||
version: 0.1.6
|
||||
version: 0.1.8
|
||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
|||
- name: scheduler
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
command: {{ .Values.scheduler.command }}
|
||||
command: {{ .Values.scheduler.container.command }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ .Values.scheduler.container.envFrom.secretRef.name }}
|
||||
|
|
|
@ -23,7 +23,7 @@ spec:
|
|||
- name: web
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
command: {{ .Values.web.command }}
|
||||
command: {{ .Values.web.container.command }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.web.container.port }}
|
||||
envFrom:
|
||||
|
|
|
@ -14,6 +14,8 @@ initContainers:
|
|||
|
||||
core:
|
||||
enabled: true
|
||||
container:
|
||||
envFrom:
|
||||
secretRef:
|
||||
name: dispatch-secret
|
||||
|
||||
|
@ -31,9 +33,8 @@ web:
|
|||
|
||||
scheduler:
|
||||
enabled: true
|
||||
command: ["dispatch", "scheduler", "start"]
|
||||
container:
|
||||
command: ["dispatch", "scheduler"]
|
||||
command: ["dispatch", "scheduler", "start"]
|
||||
envFrom:
|
||||
secretRef:
|
||||
name: dispatch-secret
|
||||
|
|
Loading…
Reference in a new issue