diff --git a/playbooks/roles/skadmin/templates/kube/updateSecrets/sk-admin-update.yml b/playbooks/roles/skadmin/templates/kube/updateSecrets/sk-admin-update.yml index 7f1f7be3..dd0095df 100644 --- a/playbooks/roles/skadmin/templates/kube/updateSecrets/sk-admin-update.yml +++ b/playbooks/roles/skadmin/templates/kube/updateSecrets/sk-admin-update.yml @@ -7,6 +7,9 @@ metadata: spec: template: spec: +{% if skadmin_sk_privileged_sa is not none %} + serviceAccountName: {{ skadmin_sk_privileged_sa }} +{% endif %} restartPolicy: Never containers: - name: sk-admin-update