-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The pods started by mysql operator use default service account #274
Comments
This is a nice observation. I've already opened a PR that allows specifying on the cluster the service account name, #286. What do you think? |
The code wise extension looks good to me, what I also trying to solve with this is making mysql operator related all pods run within an environment that has PSP enabled. And hence #258 #291 and this issue #274 are baby steps towards it. So having a broader picture of how we can automatically install PSP if needed when doing this could be of help. Not sure if the PSP needed for the mysql cluster pods should be installed by the operator or by the chart itself. |
Continuing here from the discussions on #286. The current proposed solution is:
|
Hi, as we are currently testing out the MySQL operator in our environment and also want to take advantage of specifying the Service Account of the Cluster Pods: Does this also affect the sidecar Pods (e.g. for taking backups)? We'd like to use the new "Workload Identity" Feature of GKE, which maps Kubernetes SAs directly to GCP IAM SAs. For this we ideally need two things:
EDIT: actually I mean the Pods that are generated by the MysqlBackup jobs need to be able to have a different serviceAccountName for this. |
Signed-off-by: Manan Gupta <[email protected]>
The pods started by the
mysql-operator
as a part of mysql cluster have service accountdefault
. Rather they should have their own dedicated service account created and assigned.The text was updated successfully, but these errors were encountered: