You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then in helm/chaos-mesh/templates/controller-manager-deployment.yaml, change the if statement to this:
{{- if .Values.controllerManager.serviceAccount.create }}serviceAccountName: {{ .Values.controllerManager.serviceAccount.name }}
Then in helm/chaos-mesh/templates/controller-manager-rbac.yaml, add the following if statement around the serviceAccount:
{{- if .Values.controllerManager.serviceAccount.create }}...{{- end }}
Why is this needed:
I would like to be able to not ignore the service account creation as I create it in another process and would like the ability to template the podSecurityContext for the chaosDaemon.
The text was updated successfully, but these errors were encountered:
What would you like to be added:
For helmchart, could the following fields be added?
values.yaml
, change theserviceAccount
field to look like this:values.yaml
:chaosDaemon.podSecurityContext: {}
helm/chaos-mesh/templates/controller-manager-deployment.yaml
, change the if statement to this:helm/chaos-mesh/templates/controller-manager-rbac.yaml
, add the following if statement around the serviceAccount:Why is this needed:
The text was updated successfully, but these errors were encountered: