diff --git a/charts/redis-operator/templates/operator-deployment.yaml b/charts/redis-operator/templates/operator-deployment.yaml index b00afdfb..97b6e53d 100644 --- a/charts/redis-operator/templates/operator-deployment.yaml +++ b/charts/redis-operator/templates/operator-deployment.yaml @@ -38,11 +38,6 @@ spec: - mountPath: /tmp/k8s-webhook-server/serving-certs name: cert readOnly: true - volumes: - - name: cert - secret: - defaultMode: 420 - secretName: webhook-server-cert - name: "{{ .Values.redisOperator.name }}" image: "{{ .Values.redisOperator.imageName }}:{{ .Values.redisOperator.imageTag | default (printf "v%s" .Chart.AppVersion) }}" imagePullPolicy: {{ .Values.redisOperator.imagePullPolicy }} @@ -79,3 +74,8 @@ spec: {{- end }} serviceAccountName: "{{ .Values.serviceAccountName }}" serviceAccount: "{{ .Values.serviceAccountName }}" + volumes: + - name: cert + secret: + defaultMode: 420 + secretName: webhook-server-cert \ No newline at end of file