Skip to content

Commit

Permalink
chore: update syncer image registory
Browse files Browse the repository at this point in the history
  • Loading branch information
xuriwuyun committed Jul 19, 2024
1 parent 3c60d4b commit 1e54629
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions addons/apecloud-postgresql/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
initContainers:
- name: init-syncer
image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }}
imagePullPolicy: Always
imagePullPolicy: {{ default "IfNotPresent" .Values.image.pullPolicy }}
command:
- sh
- -c
Expand Down Expand Up @@ -187,4 +187,4 @@ spec:
scope: AnyPods
statements:
creation: CREATE USER $(USERNAME) SUPERUSER PASSWORD '$(PASSWD)';
deletion: DROP USER IF EXISTS $(USERNAME);
deletion: DROP USER IF EXISTS $(USERNAME);
4 changes: 2 additions & 2 deletions addons/mongodb/templates/componentdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ spec:
- /bin/syncer
- /config
- /kubeblocks/
image: apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/syncer:0.1.0
imagePullPolicy: {{ default .Values.image.pullPolicy "IfNotPresent" }}
image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }}
imagePullPolicy: {{ default "IfNotPresent" .Values.image.pullPolicy }}
name: init-syncer
volumeMounts:
- mountPath: /kubeblocks
Expand Down
3 changes: 3 additions & 0 deletions addons/mongodb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ image:
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: 5.0.14 # 6.0.3-debian-11-r0
syncer:
repository: apecloud/syncer
tag: "0.1.2"

walg:
repository: apecloud/wal-g
Expand Down
8 changes: 4 additions & 4 deletions addons/mysql/templates/clusterversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
- /bin/syncer
- /config
- /kubeblocks/
image: apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/syncer:0.1.0
image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }}
imagePullPolicy: {{ include "mysql.imagePullPolicy" . }}
name: init-syncer
volumeMounts:
Expand All @@ -41,7 +41,7 @@ spec:
- -r
- /xtrabackup-2.4
- /kubeblocks/xtrabackup
image: apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/syncer:mysql
image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:mysql
imagePullPolicy: {{ include "mysql.imagePullPolicy" . }}
name: init-xtrabackup
volumeMounts:
Expand Down Expand Up @@ -103,7 +103,7 @@ spec:
- /bin/syncer
- /config
- /kubeblocks/
image: apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/syncer:0.1.0
image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:{{ .Values.image.syncer.tag }}
imagePullPolicy: {{ include "mysql.imagePullPolicy" . }}
name: init-syncer
volumeMounts:
Expand All @@ -114,7 +114,7 @@ spec:
- -r
- /xtrabackup-8.0
- /kubeblocks/xtrabackup
image: apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/syncer:mysql
image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.syncer.repository }}:mysql
imagePullPolicy: {{ include "mysql.imagePullPolicy" . }}
name: init-xtrabackup
volumeMounts:
Expand Down
3 changes: 3 additions & 0 deletions addons/mysql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ image:
#tag: 8.0.33
tag: 5.7.44
xtraBackupRepository: apecloud/percona-xtrabackup
syncer:
repository: apecloud/syncer
tag: "0.1.2"

## MySQL Cluster parameters
cluster:
Expand Down

0 comments on commit 1e54629

Please sign in to comment.