diff --git a/charts/redis-operator/Chart.yaml b/charts/redis-operator/Chart.yaml index a06b72c..272f45f 100644 --- a/charts/redis-operator/Chart.yaml +++ b/charts/redis-operator/Chart.yaml @@ -1,6 +1,6 @@ --- apiVersion: v2 -appVersion: "1.3.2" +appVersion: "1.3.3" description: Provides easy redis setup definitions for Kubernetes services, and deployment. engine: gotpl maintainers: @@ -8,7 +8,7 @@ maintainers: name: redis-operator sources: - https://github.com/QingCloudAppcenter/Redis-operator -version: 1.3.2 +version: 1.3.3 home: https://github.com/QingCloudAppcenter/Redis-operator icon: https://github.com/QingCloudAppcenter/Redis-operator/raw/main/static/redis-operator-logo.png keywords: diff --git a/charts/redis-operator/templates/operator-deployment.yaml b/charts/redis-operator/templates/operator-deployment.yaml index 349e4e1..dfc5e7f 100644 --- a/charts/redis-operator/templates/operator-deployment.yaml +++ b/charts/redis-operator/templates/operator-deployment.yaml @@ -32,6 +32,10 @@ spec: - name: "{{ .Values.redisOperator.name }}" image: "{{ default "docker.io" (default .Values.localRegistry .Values.global.imageRegistry) }}/{{ .Values.redisOperator.imageName }}:{{ .Values.redisOperator.imageTag }}" imagePullPolicy: {{ .Values.redisOperator.imagePullPolicy }} + {{- with .Values.global.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} env: {{- if .Values.redisPasswordEncrypt }} - name: REDIS_PASSWORD_ENCRYPT @@ -43,7 +47,8 @@ spec: - name: NAMESPACE_OVERRIDE value: {{ .Values.namespaceOverride }} {{- end }} - + - name: IMAGE_PULL_SECRETS + value: {{ join "," .Values.global.imagePullSecrets }} #redisImageName: redis {{- if .Values.redisImageName }} diff --git a/charts/redis-operator/values.yaml b/charts/redis-operator/values.yaml index 4ac8128..2cb6804 100644 --- a/charts/redis-operator/values.yaml +++ b/charts/redis-operator/values.yaml @@ -1,11 +1,12 @@ --- global: imageRegistry: "" + imagePullSecrets: [] redisOperator: name: redis-operator imageName: radondb/redis-operator - imageTag: v1.3.2 + imageTag: v1.3.3 imagePullPolicy: IfNotPresent imagePrefix: docker.io