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 Deployment in Garden Runtime Cluster #1215

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

timuthy
Copy link
Member

@timuthy timuthy commented Feb 6, 2025

How to categorize this PR?

/area delivery
/kind bug
/platform aws

What this PR does / why we need it:
This PR mainly fixes an issue that occurred when deploying the extension as an Gardener Operator extension to the garden runtime cluster.
Because of the seed default values, it unconditionally deployed the gardener.cloud-fast storage class which is not only unexpected if the runtime garden is no AWS cluster, but caused race conditions with other provider extensions in the very same cluster (see commit descriptions).

Special notes for your reviewer:
/cc @MartinWeindel
I plan to back-port the fix by cherry-picking commit 8bcae9a.
Similar PRs are expected on remaining provider extensions.

Release note:

Fixed an issue that caused deployment issues with the `gardener.cloud-fast` storage class when the extension was deployed by `gardener-operator` in the garden runtime cluster. The deployment of this `StorageClass` object is now only done for AWS seeds.

The `StorageClass` must not be considered if deployed
by the `gardener-operator` to the runtime cluster.
Otherwise different extensions fight against creating
the same resource in the cluster.
The default values shouldn't anticipate if the extension
is deployed to a seed or garden runtime cluster.
Dropping the default values makes this chart handling
less error-prone.
@timuthy timuthy requested review from a team as code owners February 6, 2025 09:52
@gardener-robot gardener-robot added needs/review Needs review area/delivery Delivery related kind/bug Bug platform/aws Amazon web services platform/infrastructure size/s Size of pull request is small (see gardener-robot robot/bots/size.py) labels Feb 6, 2025
@gardener-robot-ci-3 gardener-robot-ci-3 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Feb 6, 2025
@gardener-robot-ci-1 gardener-robot-ci-1 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Feb 6, 2025
Copy link
Contributor

@kon-angelo kon-angelo left a comment

Choose a reason for hiding this comment

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

/lgtm

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/review Needs review labels Feb 6, 2025
@gardener-robot-ci-1 gardener-robot-ci-1 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/delivery Delivery related kind/bug Bug needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) platform/aws Amazon web services platform/infrastructure reviewed/lgtm Has approval for merging size/s Size of pull request is small (see gardener-robot robot/bots/size.py)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants