feat(dispatch): add pull secret
This commit is contained in:
parent
f0c673f5ae
commit
81f376d323
6 changed files with 18 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: dispatch
|
name: dispatch
|
||||||
description: Netflix Dispatch incident management system
|
description: Netflix Dispatch incident management system
|
||||||
version: 0.5.0
|
version: 0.5.1
|
||||||
appVersion: v20240605
|
appVersion: v20240605
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Tommy Skaug
|
- name: Tommy Skaug
|
||||||
|
|
|
@ -22,6 +22,10 @@ spec:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.postgres.secretName }}
|
name: {{ .Values.postgres.secretName }}
|
||||||
containers:
|
containers:
|
||||||
|
{{ if ne .Values.image.pullSecret "" }}
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: "{{ .Values.image.pullSecret }}"
|
||||||
|
{{ end }}
|
||||||
- name: core
|
- name: core
|
||||||
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
|
|
@ -12,6 +12,10 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
containers:
|
containers:
|
||||||
|
{{ if ne .Values.image.pullSecret "" }}
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: "{{ .Values.image.pullSecret }}"
|
||||||
|
{{ end }}
|
||||||
- name: general-db-init
|
- name: general-db-init
|
||||||
image: "{{ .Values.initContainers.dbInit.image.repository }}:{{ .Values.initContainers.dbInit.image.tag }}"
|
image: "{{ .Values.initContainers.dbInit.image.repository }}:{{ .Values.initContainers.dbInit.image.tag }}"
|
||||||
envFrom:
|
envFrom:
|
||||||
|
|
|
@ -16,6 +16,10 @@ spec:
|
||||||
app: {{ include "dispatch.fullname" . }}-scheduler
|
app: {{ include "dispatch.fullname" . }}-scheduler
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
{{ if ne .Values.image.pullSecret "" }}
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: "{{ .Values.image.pullSecret }}"
|
||||||
|
{{ end }}
|
||||||
- name: scheduler
|
- name: scheduler
|
||||||
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
|
|
@ -47,6 +47,10 @@ spec:
|
||||||
envFrom: *envFrom
|
envFrom: *envFrom
|
||||||
|
|
||||||
containers:
|
containers:
|
||||||
|
{{ if ne .Values.image.pullSecret "" }}
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: "{{ .Values.image.pullSecret }}"
|
||||||
|
{{ end }}
|
||||||
- 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 }}
|
||||||
|
|
|
@ -3,6 +3,7 @@ envFromSecret: dispatch-secret
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/tommy-skaug/dispatch
|
repository: ghcr.io/tommy-skaug/dispatch
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
pullSecret: dispatch-pull-secret
|
||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
dbInit:
|
dbInit:
|
||||||
|
|
Loading…
Reference in a new issue