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

Use DirectClient to wait for OSC #2591

Merged
merged 1 commit into from
Jul 15, 2020

Conversation

timebertt
Copy link
Member

How to categorize this PR?

/area quality
/kind bug
/priority normal

What this PR does / why we need it:
When adapting the gardenlet's seed client usage in f120f2c, I missed one usage of common.WaitUntilExtensionCRReady in applyAndWaitForShootOperatingSystemConfig, which should have also been switched to the DirectClient.
Therefore, the cloud-config script in the Shoot was not properly updated after some change in the worker config or similar in case the CachedRuntimeClients feature gate was activated. In that case, only after a second reconciliation the secret was updated correctly.
This PR fixes this bug.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:
/cc @zanetworker

Release note:

A bug has been fixed, which caused the `cloud-config` secret in the Shoot to not get updated correctly after a change to the worker config in case the `CachedRuntimeClients` feature gate was activated.

@timebertt timebertt requested a review from a team as a code owner July 15, 2020 12:22
@gardener-robot gardener-robot added area/quality Output qualification (tests, checks, scans, automation in general, etc.) related kind/bug Bug priority/normal labels Jul 15, 2020
Copy link
Contributor

@zanetworker zanetworker left a comment

Choose a reason for hiding this comment

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

/lgtm

@timebertt timebertt merged commit f153807 into gardener:master Jul 15, 2020
@timebertt timebertt deleted the fix/wait-for-osc branch July 15, 2020 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/quality Output qualification (tests, checks, scans, automation in general, etc.) related kind/bug Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants