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

chart: Choose whether or not to generate oidc secret #1668

Merged
merged 7 commits into from
Jan 30, 2024
Merged

chart: Choose whether or not to generate oidc secret #1668

merged 7 commits into from
Jan 30, 2024

Conversation

ThisIsntTheWay
Copy link
Contributor

@ThisIsntTheWay ThisIsntTheWay commented Jan 20, 2024

This PR adds the field .config.oidc.create to the charts values.yaml.
Setting this to false allows the user to generate the oidc secret themselves.
By default, this value is set to true.

This would allow a user to use something like SealedSecrets or ExternalSecret to generate the secret independently, rather than having to put potentially sensitive information into the charts values.

ThisIsntTheWay and others added 4 commits January 20, 2024 12:28
Signed-off-by: Valentin Klopfenstein <[email protected]>
Signed-off-by: Valentin Klopfenstein <[email protected]>
charts/headlamp/README.md Outdated Show resolved Hide resolved
@knrt10
Copy link
Contributor

knrt10 commented Jan 23, 2024

Thanks for the PR @ThisIsntTheWay, some minor NIT, rest LGTM.

Copy link
Contributor

@knrt10 knrt10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @ThisIsntTheWay. Your contribution is sincerely valued and appreciated. Feel free to open more in the future🔥.

Copy link
Contributor

@yolossn yolossn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the comment everything looks good.

charts/headlamp/templates/deployment.yaml Outdated Show resolved Hide resolved
Also fix args not being passed to deployment if secret is not generated

Signed-off-by: Valentin Klopfenstein <[email protected]>
Copy link
Contributor

@yolossn yolossn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and it works as expected. Thanks for the contribution.

@yolossn yolossn merged commit 674439a into headlamp-k8s:main Jan 30, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

4 participants