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
@@ -16,7 +16,7 @@ spec:
spec: spec:
containers: containers:
- name: backend - name: backend
image: infisical/backend image: "{{ .Values.frontend.image.repository }}:{{ .Values.frontend.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.backend.image.pullPolicy }} imagePullPolicy: {{ .Values.backend.image.pullPolicy }}
ports: ports:
- containerPort: 4000 - containerPort: 4000
@@ -16,7 +16,7 @@ spec:
spec: spec:
containers: containers:
- name: frontend - name: frontend
image: infisical/frontend image: "{{ .Values.frontend.image.repository }}:{{ .Values.frontend.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.frontend.image.pullPolicy }} imagePullPolicy: {{ .Values.frontend.image.pullPolicy }}
{{- if .Values.frontend.kubeSecretRef }} {{- if .Values.frontend.kubeSecretRef }}
envFrom: envFrom:
+2 -2
View File
@@ -6,7 +6,7 @@
frontend: frontend:
replicaCount: 1 replicaCount: 1
image: image:
repository: repository: infisical/frontend
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: "latest" tag: "latest"
# kubeSecretRef: some-kube-secret-name # kubeSecretRef: some-kube-secret-name
@@ -15,7 +15,7 @@ frontend:
backend: backend:
replicaCount: 1 replicaCount: 1
image: image:
repository: repository: infisical/backend
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: "latest" tag: "latest"
# kubeSecretRef: some-kube-secret-name # kubeSecretRef: some-kube-secret-name