Add ability to customize the service account name.

This commit is contained in:
Yi Hong committed 2026-03-19 14:39:33 -04:00
1 parent 0f5dc3a2d0
commit 424dee1895
4 files changed
+18

No files matched your search

+12
View File
@@ -461,3 +461,15 @@ tests:
echo "Trying again in 3 seconds..."
done
echo "Gitea has been reached!"
- it: should render service account name correctly
template: templates/statefulset.yaml
set:
enabled: true
statefulset:
serviceAccountName: "my-service-account"
asserts:
- hasDocuments:
count: 1
- equal:
path: spec.template.spec.serviceAccountName
value: "my-service-account"