plugin-barman-cloud
plugin-barman-cloud copied to clipboard
Use specified ServiceAccountName in RoleBinding
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.