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

fix(configmaps): skip creating configmap for Alpha Configurations when used with OCP Proxy #181

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

tthvo
Copy link
Member

@tthvo tthvo commented Aug 7, 2024

What's changed

  • Added a condition to only create alpha-config ConfigMap when openshift authentication is not enabled (i.e. with OAuth2-Proxy).
  • Added common labels to the generated ConfigMap. Just good practice for easy querying :D

Motivations

I think it's a good to determine and create only necessary resources. This would be helpful in case the namespace has resource quota.

Related to #127

…n used with OCP Proxy

Signed-off-by: Thuan Vo <thuan.votann@gmail.com>
@tthvo tthvo added fix chore Refactor, rename, cleanup, etc. safe-to-test labels Aug 7, 2024
@tthvo tthvo requested a review from a team August 7, 2024 21:09
@tthvo tthvo marked this pull request as ready for review August 7, 2024 21:09
@andrewazores andrewazores merged commit 208b142 into cryostatio:main Aug 7, 2024
6 checks passed
@tthvo tthvo deleted the oauth-alpha-confg branch August 7, 2024 21:28
mergify bot pushed a commit that referenced this pull request Aug 8, 2024
…n used with OCP Proxy (#181)

Signed-off-by: Thuan Vo <thuan.votann@gmail.com>
(cherry picked from commit 208b142)

# Conflicts:
#	charts/cryostat/tests/alpha_config_test.yaml
andrewazores pushed a commit that referenced this pull request Aug 8, 2024
…n used with OCP Proxy (#181) (#182)

Signed-off-by: Thuan Vo <thuan.votann@gmail.com>
(cherry picked from commit 208b142)

Co-authored-by: Thuan Vo <thuan.votann@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport chore Refactor, rename, cleanup, etc. fix safe-to-test
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants