diff --git a/charts/attest-provider/templates/attest-provider-deployment.yaml b/charts/attest-provider/templates/attest-provider-deployment.yaml index 7a74fc6..ddad379 100644 --- a/charts/attest-provider/templates/attest-provider-deployment.yaml +++ b/charts/attest-provider/templates/attest-provider-deployment.yaml @@ -15,6 +15,9 @@ spec: app: '{{ template "attest-provider.name" . }}' chart: '{{ template "attest-provider.name" . }}' spec: + {{- if .Values.serviceAccountName }} + serviceAccountName: {{ .Values.serviceAccountName }} + {{- end }} containers: - image: {{ .Values.image }} imagePullPolicy: IfNotPresent