Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OIDC integration via Helm charts #20142

Closed
avibellapu opened this issue Mar 18, 2024 · 2 comments
Closed

OIDC integration via Helm charts #20142

avibellapu opened this issue Mar 18, 2024 · 2 comments

Comments

@avibellapu
Copy link

I am installing and setting up Harbor using Helm on my openshift cluster. However, setting up the OIDC has been a manual setup for me once I installed Harbor using Helm charts.

I want to get a solution to integrate this into my helm charts, so the installation and setup with OIDC would be automated out of the box for me.

@stonezdj
Copy link
Contributor

see https://goharbor.io/docs/2.10.0/install-config/configure-system-settings-cli/

Set Configuration Items Using An Environment Variable
Introduced in 2.3.0 is the ability to use an environment variable, CONFIG_OVERWRITE_JSON, in the core container to set the configuration. Once the CONFIG_OVERWRITE_JSON variable is set, you can only update or remove the configuration by updating the CONFIG_OVERWRITE_JSON and restarting the container. You will not be able to update the configuration in the Harbor interface or in the commandline.

Example CONFIG_OVERWRITE_JSON configuration:

CONFIG_OVERWRITE_JSON={"ldap_verify_cert":"false", "auth_mode":"ldap_auth","ldap_base_dn":"dc=example,dc=com", "ldap_search_dn":"cn=admin,dc=example,dc=com","ldap_search_password":"admin","ldap_url":"myldap.example.com", "ldap_scope":2}

See the Harbor Configuration Items table below for more information about available inputs for CONFIG_OVERWRITE_JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants