diff --git a/charts/rocketmq-operator/templates/serviceaccount.yaml b/charts/rocketmq-operator/templates/serviceaccount.yaml index 6527f6ab..ab5f13ed 100644 --- a/charts/rocketmq-operator/templates/serviceaccount.yaml +++ b/charts/rocketmq-operator/templates/serviceaccount.yaml @@ -5,4 +5,10 @@ metadata: labels: {{- include "rocketmq-operator.labels" . | nindent 4 }} annotations: - {{- toYaml .Values.rocketmqOperator.serviceAccount.annotations | nindent 4 }} \ No newline at end of file + {{- toYaml .Values.rocketmqOperator.serviceAccount.annotations | nindent 4 }} +{{- with .Values.rocketmqOperator.serviceAccount.imagePullSecrets }} +imagePullSecrets: +{{- range . }} + - name: {{ .name }} +{{- end }} +{{- end }} diff --git a/charts/rocketmq-operator/values.yaml b/charts/rocketmq-operator/values.yaml index 0ed3555a..6fd97a93 100644 --- a/charts/rocketmq-operator/values.yaml +++ b/charts/rocketmq-operator/values.yaml @@ -14,3 +14,4 @@ rocketmqOperator: replicas: 1 serviceAccount: annotations: {} + imagePullSecrets: []