Skip to content

Change password of User #950

Open
Open
@ktzsolt

Description

@ktzsolt

Is your feature request related to a problem? Please describe.
Can not change password of Kind: User . Changing password values in importCredentialsSecret makes no effect as the docs state here:

Note that Messaging Topology Operator does not watch the provided secret and updating the secret object won't update actual user credentials.

If you wish to update User credentials, you can update the secret generated by the controller and then add a label or annotation to the User object to trigger a reconcile loop.

Describe the solution you'd like
The importCredentialsSecret secret and the generated secret has the same data so it does not make sense to generate a different secret by the messaging-topology-operator with the same structure and same data that our importCredentialsSecret secret already has.

data:
  username:
  password:

The user credentials should come directly from the importCredentialsSecret and not the generated secret so when using helm to deploy we could use the checksum annotation trick (https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments) to change user password in our secret and trigger a reconcile for the User resource. Currently it is not possible to change the data in the generated secret with helm tooling (or I don't know how to do it)

Changing the user name of the Kind: User resource is not scope for this feature but easy password rotation with helm is.

Workarounds with helm tricks would be also welcome if somebody knows any!

related:
#924
#896
#242

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions