apache / rocketmq-operator

Apache RocketMQ Operator
https://rocketmq.apache.org/
Apache License 2.0
308 stars 126 forks source link

[ISSUE #196] Fix serviceAccountName inconsistency #197

Open sinloss opened 7 months ago

sinloss commented 7 months ago

What is the purpose of the change

Closes #196

Brief changelog

Change the serviceAccountName in the operator.yaml to {{ template "rocketmq-operator.serviceAccountName" . }}, the same as in the role_binding.yaml and service_account.yaml.

Verifying this change

This works on a Kubernetes v1.25.4 cluster with 2 nodes, via Helm version.BuildInfo{Version:"v3.12.0", GitCommit:"c9f554d75773799f72ceef38c51210f1842a1dea", GitTreeState:"clean", GoVersion:"go1.20.3"}.

Please go through this checklist to help us incorporate your contribution quickly and easily.

Notice: It would be helpful if you could finish the following checklist (the last one is not necessary) before request the community to review your PR.