Skip to content

Commit a6b3402

Browse files
fix: allow user to override image repository (#76)
1 parent 7ec1a98 commit a6b3402

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packaging/helm-charts/helm3/strimzi-access-operator/templates/050-Deployment.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ spec:
2828
sizeLimit: 1Mi
2929
containers:
3030
- name: access-operator
31-
image: quay.io/strimzi/access-operator:{{ .Values.image.tag }}
32-
{{- if .Values.image.pullPolicy }}
33-
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
31+
image: {{ .Values.image.registry }}/{{ .Values.image.repository}}/{{ .Values.image.name }}:{{ .Values.image.tag }}
32+
{{- with .Values.image.pullPolicy }}
33+
imagePullPolicy: {{ . }}
3434
{{- end }}
3535
ports:
3636
- containerPort: 8080

packaging/helm-charts/helm3/strimzi-access-operator/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
image:
2+
registry: quay.io
3+
repository: strimzi
4+
name: access-operator
25
tag: latest
36

47
resources:

0 commit comments

Comments
 (0)