gardener / gardener-extension-shoot-cert-service

Gardener extension controller for certificate services for shoot clusters.
https://gardener.cloud
Apache License 2.0
10 stars 35 forks source link

Add `resources.gardener.cloud/skip-health-check=true` annotation to CRDs #194

Closed rfranzke closed 1 year ago

rfranzke commented 1 year ago

How to categorize this PR?

/area usability /kind bug

What this PR does / why we need it: Add resources.gardener.cloud/skip-health-check=true annotation to CRDs. Otherwise, gardener-resource-manager might recreate them too fast during shoot deletion after gardenlet just deleted them (and expects them to be gone). This can lead to race conditions, especially after https://github.com/gardener/gardener/issues/7473.

This is just a workaround for now and needs to be figured out properly.

Special notes for your reviewer: /cc @ScheererJ

Release note:

The `CustomResourceDefinition`s deployed to shoot clusters are now annotated with `resources.gardener.cloud/skip-health-check=true` to prevent `gardener-resource-manager` from recreating them too fast during shoot deletion.