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
|
||||
name: dispatch
|
||||
description: Netflix Dispatch incident management system
|
||||
version: 0.5.0
|
||||
version: 0.5.1
|
||||
appVersion: v20240605
|
||||
maintainers:
|
||||
- name: Tommy Skaug
|
||||
|
|
|
@ -22,6 +22,10 @@ spec:
|
|||
- secretRef:
|
||||
name: {{ .Values.postgres.secretName }}
|
||||
containers:
|
||||
{{ if ne .Values.image.pullSecret "" }}
|
||||
imagePullSecrets:
|
||||
- name: "{{ .Values.image.pullSecret }}"
|
||||
{{ end }}
|
||||
- name: core
|
||||
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
|
|
|
@ -12,6 +12,10 @@ spec:
|
|||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
{{ if ne .Values.image.pullSecret "" }}
|
||||
imagePullSecrets:
|
||||
- name: "{{ .Values.image.pullSecret }}"
|
||||
{{ end }}
|
||||
- name: general-db-init
|
||||
image: "{{ .Values.initContainers.dbInit.image.repository }}:{{ .Values.initContainers.dbInit.image.tag }}"
|
||||
envFrom:
|
||||
|
|
|
@ -16,6 +16,10 @@ spec:
|
|||
app: {{ include "dispatch.fullname" . }}-scheduler
|
||||
spec:
|
||||
containers:
|
||||
{{ if ne .Values.image.pullSecret "" }}
|
||||
imagePullSecrets:
|
||||
- name: "{{ .Values.image.pullSecret }}"
|
||||
{{ end }}
|
||||
- name: scheduler
|
||||
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
|
|
|
@ -47,6 +47,10 @@ spec:
|
|||
envFrom: *envFrom
|
||||
|
||||
containers:
|
||||
{{ if ne .Values.image.pullSecret "" }}
|
||||
imagePullSecrets:
|
||||
- name: "{{ .Values.image.pullSecret }}"
|
||||
{{ end }}
|
||||
- name: web
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
|
|
|
@ -3,6 +3,7 @@ envFromSecret: dispatch-secret
|
|||
image:
|
||||
repository: ghcr.io/tommy-skaug/dispatch
|
||||
pullPolicy: Always
|
||||
pullSecret: dispatch-pull-secret
|
||||
|
||||
initContainers:
|
||||
dbInit:
|
||||
|
|
Loading…
Reference in a new issue