postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

Allow customers to specify roles that they want credentials for...

Open dsessler7 opened this issue 6 months ago • 0 comments

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:

dsessler7 avatar Feb 16 '24 20:02 dsessler7