redis-operator
redis-operator copied to clipboard
Support for serviceAccountName in StatefulSets
Is your feature request related to a problem? Please describe.
My k8s cluster requires the use of a security policy, so I am getting this error:
StatefulSet mycluster-leader failed error: pods "mycluster-leader-0" is forbidden: PodSecurityPolicy: unable to admit pod: []
Describe the solution you'd like
Add support for setting serviceAccountName
in the StatefulSet
Describe alternatives you've considered
What version of redis-operator are you using? redis-operator version: 0.10.0
Additional context