Create multiple super admin users

240 views
Skip to first unread message

James Regis

unread,
Jan 19, 2023, 2:22:31 PM1/19/23
to quay-sig
Hi all,

Is it possible to create multiple Super Admin user ? 


I am running Quay Enterprise 3.7 on Openshift 4.11.

Regards.

James

Daniel Messer

unread,
Jan 23, 2023, 5:23:51 AM1/23/23
to James Regis, quay-sig
Hi James,

yes, multiple super users are possible. The config entry `SUPER_USERS:` accepts a list of pre-defined Quay usernames. When you say "no success" - what exactly happened?

/D

--
You received this message because you are subscribed to the Google Groups "quay-sig" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quay-sig+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quay-sig/94d84a3f-d1a9-4108-8fd5-8f9107481c48n%40googlegroups.com.


--
Daniel Messer

Product Manager Operator Framework & Quay

Red Hat OpenShift

James Regis

unread,
Jan 23, 2023, 6:42:50 AM1/23/23
to Daniel Messer, quay-sig
Hi Daniel, 

thanks for taking time to answer.

I have followed the procedure by creating a user (named james) and adding in the config entry SUPER_USERS James like that:
....
SUPER_USERS:
  - quayadmin
 - james 
....

Once done, I have destroyed my Quay instance, that has been rebuild (the magic of openshift).

I tried to login as james, but james has no super admin menu.

My goal is to create a new super admin user and generate an api token for this user, to be able to make api calls.

One again, thanks for your help.

James 

Daniel Messer

unread,
Jan 23, 2023, 7:04:30 AM1/23/23
to James Regis, quay-sig
Hi James,

not sure if it's due to mail text formatting but your list there seems to have inconsistent indentation. Looks like you are missing one whitespace character there. This could be the cause for your second entry to be ignored. If it's correct and this is an operator-managed setup, please ensure that the operator has rolled our your custom config directive change by looking at the status conditions of the QuayRegistry custom resource (condition=available) and just to be sure also look at the rendered config bundle mounted by the Quay pods.

/D

James Regis

unread,
Jan 23, 2023, 10:13:14 AM1/23/23
to quay-sig
Daniel,

you were right. After some time, the operator has rolled my custom config and now I can see james user as a super user.

Thanks for your help. 

I will make a new thread about api token initialization for new admins.

James
Reply all
Reply to author
Forward
0 new messages