Is there any way to create another admin privileged user when using pulp operator k8 deployment?

Problem:
Is there any way to create separate admin user when using pulp operator k8 deployment?
Expected outcome:
Able to create another admin privileged user using any configs in pulp CR.

Pulpcore version:
Operator chart version: 0.3.0
Pulp plugins installed and their versions:

Operating system - distribution and version:

Other relevant data:
Just wanted to know if there is any way to create another admin privileged user using any automated way with the pulp deployed using operator. Didnt find an api call to do it. If there is one, that also works. Want to create another user, and store its credentials outside k8 and also deactivate the default admin user.

See here Grant Admin (all?) permissions to a "regular" user - #2 by x9c4

1 Like

Hi @tarangini-shetty,

Is there any way to create separate admin user when using pulp operator k8 deployment?

As of now, pulp-operator doesn’t provide a way to automate the user creation.
This is something that other users were also asking for (https://github.com/pulp/pulp-operator/issues/1299 and https://github.com/pulp/pulp-operator/issues/1263), but we didn’t have time to work on it yet.

Maybe Squeezer could be helpful with the automation you are looking for.

1 Like

There isn’t a proper user module. But it should be possible to use the api-call module for one level of abstraction less. Adding a user model would be nice though.

2 Likes