-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
📜 Description
There is no template for ServiceAccount creation, see:
Error creating: pods "postiz-postiz-app-768c7b798f-" is forbidden: error looking up service account default/postiz-postiz-app: serviceaccount "postiz-postiz-app" not found
The following is only used for templating the SA name in the deployment, but not to create it:
postiz-helmchart/charts/postiz/templates/_helpers.yaml
Lines 53 to 62 in 005d53c
| {{/* | |
| Create the name of the service account to use | |
| */}} | |
| {{- define "postiz.serviceAccountName" -}} | |
| {{- if .Values.serviceAccount.create }} | |
| {{- default (include "postiz.fullname" .) .Values.serviceAccount.name }} | |
| {{- else }} | |
| {{- default "default" .Values.serviceAccount.name }} | |
| {{- end }} | |
| {{- end }} |
👟 Reproduction steps
Default values / service account creation enabled.
👍 Expected behavior
Successful deployment with default values.
👎 Actual Behavior
Pod can never be launched because there's no underlying SA created.
☸️ Kubernetes Version
v1.30.3
⎈ Helm Version
v3.14.3
📊 Chart Version
1.0.2
☁️ Cloud Provider
On-premises
🛠️ Custom Values
No response
📃 Additional Context
No response
👀 Have you checked if this bug has been reported before?
- I have searched existing issues and didn't find a similar bug report
Are you willing to submit a PR?
None
Metadata
Metadata
Assignees
Labels
No labels