fix: allow image overrides

This commit is contained in:
jon4hz
2022-12-28 15:02:52 +01:00
parent 2473ad03fa
commit bef857a7dc
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: backend
image: infisical/backend
image: "{{ .Values.frontend.image.repository }}:{{ .Values.frontend.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.backend.image.pullPolicy }}
ports:
- containerPort: 4000

View File

@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: frontend
image: infisical/frontend
image: "{{ .Values.frontend.image.repository }}:{{ .Values.frontend.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.frontend.image.pullPolicy }}
{{- if .Values.frontend.kubeSecretRef }}
envFrom:

View File

@ -6,7 +6,7 @@
frontend:
replicaCount: 1
image:
repository:
repository: infisical/frontend
pullPolicy: IfNotPresent
tag: "latest"
# kubeSecretRef: some-kube-secret-name
@ -15,7 +15,7 @@ frontend:
backend:
replicaCount: 1
image:
repository:
repository: infisical/backend
pullPolicy: IfNotPresent
tag: "latest"
# kubeSecretRef: some-kube-secret-name