plugin-barman-cloud icon indicating copy to clipboard operation
plugin-barman-cloud copied to clipboard

Use specified ServiceAccountName in RoleBinding

Open toomasp opened this issue 7 months ago • 0 comments

Currently backup fails due to incorrect serviceAccount being used in the rolebinding, ie:

rpc error: code = Unknown desc = objectstores.barmancloud.cnpg.io "test123-postgresql-objectstore" is forbidden: User "system:serviceaccount:test123:custom-sa" cannot get resource "objectstores" in API group "barmancloud.cnpg.io" in the namespace "test123"

The cluster was created with spec.serviceAccountName set.

toomasp avatar Apr 22 '26 12:04 toomasp