-
Notifications
You must be signed in to change notification settings - Fork 481
add -oidc-scopes parameter only if scopes are actually provided #4221
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
base: main
Are you sure you want to change the base?
Conversation
|
|
|
Welcome @mikeywuu! |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mikeywuu The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
skoeva
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks for looking into this issue! If you can, please sign the CLA so we can review and merge any changes
skoeva
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's a failing test in the CI:
Test failed! To update expected templates to match current output:
1. Review the differences above carefully
2. If the changes are related to version, run:
make helm-update-template-version
This will update ALL expected templates with current Helm version
3. Verify the changes and commit them
|
After thinking about it, im not sure if this might break something for other people. With this change, it would no longer be possible to get the Maybe you have an opinion about that? |
This pull request introduces a conditional check to the Helm chart deployment template for Headlamp, ensuring that the OIDC scopes argument is only included when the relevant value is set. This improves the flexibility and correctness of the deployment configuration.
Enhancement to OIDC configuration:
charts/headlamp/templates/deployment.yaml: Added a conditional block so that the-oidc-scopes=$(OIDC_SCOPES)argument is only included if either$oidc.scopesor$scopesis not empty, preventing unnecessary or empty configuration arguments.## SummaryRelated Issue
Fixes #4220