-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Currently the HelmChart does not contain vital configuration to properly start when the serviceAccount name is changed from default.
- ServiceAccount definition is missing
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.rbac.serviceAccount.name }}
namespace: {{ .Release.Namespace }}- Deployment
.spec.template.spec.serviceAccountName
[...]
serviceAccountName: {{ .Values.rbac.serviceAccount.name }}
[...]- When creating CRD instance on another namespace, it needs leader-election-rolebinding and leader-election-role set accordingly
This requires some more though because if serviceAccount is set to default it shouldn't be created, if you want to keep using default sa
Metadata
Metadata
Assignees
Labels
No labels