Hi Team, I have deployed datahub using helm charts...
# all-things-deployment
c
Hi Team, I have deployed datahub using helm charts with OIDC integration. How can we specify initialAdmins via the helm chart.
a
Hi, could you clarify whether you want to change the initial admin account or add new admins? I’m not sure you’re able to add new admins via helm
c
I would like to add new admins
At present, when I deploy datahub with OIDC integration, any user who logs in has no role associated. I need to login with default user and perform two activities - • Provide admin previlege/role to an OAuth user • Downgrade the role for
datahub
user to
reader
This is a one time activity, I wanted to check the possibility of 3 things via helm - • Specify Default admin user based on SSO • Disable
datahub
user • Every new user who logs in for the first time is given
Reader
role by default
b
Hi there! 1 + 2 - You can disable the default user logic using an environment variable on the datahub-frontend pod.
AUTH_JAAS_ENABLED=false
Notice that you'll need to first login as the default 'datahub' user to bootstrap, and then assign the Admin role to your OIDC user once they've logged in. 3 - At present, there is no built in way to specify a default role for the user, but that's certaintlty something we'll think about. An alternative is defining a Metadata Policy that applies to "all users" by default, and providing the same privileges that are granted by the Reader role policy (loaded into DH instance by default)
c
@big-carpet-38439 Thank you 👍