diff --git a/charts/cp-schema-registry/templates/deployment.yaml b/charts/cp-schema-registry/templates/deployment.yaml index b94995f0..abf321b8 100644 --- a/charts/cp-schema-registry/templates/deployment.yaml +++ b/charts/cp-schema-registry/templates/deployment.yaml @@ -33,6 +33,9 @@ spec: {{- end }} {{- end }} spec: + {{- if .Values.serviceAccountName }} + serviceAccountName: {{ .Values.serviceAccountName }} + {{- end }} securityContext: {{- if .Values.securityContext }} {{ toYaml .Values.securityContext | indent 8 }}