postgres-operator
postgres-operator copied to clipboard
Allow customers to specify roles that they want credentials for...
in the CrunchyBridgeCluster spec. When specified, PGO will create/update a corresponding Secret and fill with role name, password, and connection URI during the reconcile loop. If role is deleted from spec or secret name is changed, PGO will delete unused secret.
Checklist:
- [x] Have you added an explanation of what your changes do and why you'd like them to be included?
- [ ] Have you updated or added documentation for the change, as applicable?
- [x] Have you tested your changes on all related environments with successful results, as applicable?
- [ ] Have you added automated tests?
Type of Changes:
- [x] New feature
- [ ] Bug fix
- [ ] Documentation
- [ ] Testing enhancement
- [ ] Other
What is the current behavior (link to any open issues here)?
There is no user/role functionality.
What is the new behavior (if this is a feature change)?
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
The customer can now add roles (that correspond to available roles in Bridge) to their spec and specify a secret name and get a Secret in their k8s cluster that contains that role's password and connection URI.
Other Information: