From 3c60d4b5cec8145364721817a4edfa1134ec28e1 Mon Sep 17 00:00:00 2001 From: Y-Rookie Date: Fri, 19 Jul 2024 10:49:16 +0800 Subject: [PATCH] fix hard code redis image register in release-0.9 --- addons/redis/templates/clusterversion.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/redis/templates/clusterversion.yaml b/addons/redis/templates/clusterversion.yaml index 78b32cef9..83a527c93 100644 --- a/addons/redis/templates/clusterversion.yaml +++ b/addons/redis/templates/clusterversion.yaml @@ -53,28 +53,28 @@ spec: versionsContext: containers: - name: redis - image: apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/redis-stack-server:7.0.6-RC8 + image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:7.0.6-RC8 imagePullPolicy: {{ default .Values.image.pullPolicy "IfNotPresent" }} systemAccountSpec: cmdExecutorConfig: - image: apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/redis-stack-server:7.0.6-RC8 + image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:7.0.6-RC8 - componentDefRef: redis-sentinel versionsContext: initContainers: - name: init-redis-sentinel - image: apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/redis-stack-server:7.0.6-RC8 + image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:7.0.6-RC8 imagePullPolicy: {{ default .Values.image.pullPolicy "IfNotPresent" }} containers: - name: redis-sentinel - image: apecloud-registry.cn-zhangjiakou.cr.aliyuncs.com/apecloud/redis-stack-server:7.0.6-RC8 + image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:7.0.6-RC8 imagePullPolicy: {{ default .Values.image.pullPolicy "IfNotPresent" }} - componentDefRef: redis-twemproxy versionsContext: initContainers: - name: init-redis-twemproxy - image: docker.io/busybox:1.36 + image: {{ .Values.busyboxImage.registry | default "docker.io"}}/{{ .Values.busyboxImage.repository}}:1.36 imagePullPolicy: {{ default .Values.busyboxImage.pullPolicy "IfNotPresent" }} containers: - name: redis-twemproxy - image: docker.io/malexer/twemproxy:0.5.0 + image: {{ .Values.redisTwemproxyImage.registry | default "docker.io" }}/{{ .Values.redisTwemproxyImage.repository }}:0.5.0 imagePullPolicy: {{ default .Values.redisTwemproxyImage.pullPolicy "IfNotPresent" }}