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

Do not generate proxy env secret for non private clusters. #463

Merged
merged 6 commits into from
Feb 14, 2024

Conversation

whites11
Copy link
Contributor

@whites11 whites11 commented Feb 14, 2024

towards: https://github.com/giantswarm/giantswarm/issues/29836

since cluster-apps-operator is one single instance running in the MC, if the MC is private and cluster-apps-operator is configured to inject proxy envs, it does that for all WCs as well even if they're not private.

This PR prevents that from happening by checking if the Cluster is a private one to choose if it needs to generate the proxy env secret.

Tested on goat and it works fine, at least on CAPA.

Checklist

  • Update changelog in CHANGELOG.md.

@whites11 whites11 self-assigned this Feb 14, 2024
Copy link
Contributor

@erkanerol erkanerol left a comment

Choose a reason for hiding this comment

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

LGTM

@whites11 whites11 marked this pull request as ready for review February 14, 2024 09:34
@whites11 whites11 requested a review from a team as a code owner February 14, 2024 09:34
@whites11 whites11 requested a review from mcharriere February 14, 2024 09:34
Copy link
Contributor

@calvix calvix left a comment

Choose a reason for hiding this comment

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

lgtm

@whites11 whites11 merged commit 7538cdd into main Feb 14, 2024
7 checks passed
@whites11 whites11 deleted the fix-private branch February 14, 2024 11:43
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.

5 participants