Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Commit 56bca2d

Browse files
simonlordprydie
authored andcommitted
Support overriding docker registry for operator and agent in Helm chart (#128)
This allows a better dev process as we push our dev builds to a different ocir registry.
1 parent c869fc3 commit 56bca2d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

mysql-operator/templates/03-deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ spec:
2424
containers:
2525
- name: mysql-operator-controller
2626
imagePullPolicy: {{ .Values.image.pullPolicy }}
27-
image: iad.ocir.io/oracle/mysql-operator:{{ .Values.image.tag }}
27+
image: {{ .Values.image.registry }}/mysql-operator:{{ .Values.image.tag }}
2828
ports:
2929
- containerPort: 10254
3030
args:
3131
- --v=4
3232
{{- if not .Values.operator.global }}
3333
- --namespace={{- .Values.operator.namespace }}
3434
{{- end }}
35+
- --mysql-agent-image={{- .Values.image.registry }}/mysql-agent:{{ .Values.image.tag }}

mysql-operator/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ operator:
55
global: true
66
register_crd: true
77
image:
8+
registry: iad.ocir.io/oracle
89
tag: 0.1.0
910
pullPolicy: Always

0 commit comments

Comments
 (0)