Skip to content

Commit

Permalink
fix: allow image overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4hz committed Dec 28, 2022
1 parent 2473ad0 commit bef857a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion helm-charts/infisical/templates/backend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/infisical/templates/frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions helm-charts/infisical/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
frontend:
replicaCount: 1
image:
repository:
repository: infisical/frontend
pullPolicy: IfNotPresent
tag: "latest"
# kubeSecretRef: some-kube-secret-name
Expand All @@ -15,7 +15,7 @@ frontend:
backend:
replicaCount: 1
image:
repository:
repository: infisical/backend
pullPolicy: IfNotPresent
tag: "latest"
# kubeSecretRef: some-kube-secret-name
Expand Down

0 comments on commit bef857a

Please sign in to comment.