gardener / gardener-extension-shoot-dns-service

Gardener extension controller for DNS services for shoot clusters.
https://gardener.cloud
Apache License 2.0
8 stars 34 forks source link

Conditional deploy of CRDs on shoot #369

Closed MartinWeindel closed 2 weeks ago

MartinWeindel commented 3 weeks ago

How to categorize this PR?

/area control-plane /kind technical-debt

What this PR does / why we need it: For shooted seeds some CRDs of the dns-controller-manager are deployed by two managed resources. The managed resource for deploying the shoot-dns-extension itself (from the ControllerDeployment) and the managed resource for the extension object (from the upstream seed/soil) currently contain these CRDs. This PR removes the second one ("extension-shoot-dns-service-shoot-keep") and the dns-controller-manager running in the control plane deploys these CRDs, but only if the shoot is no seed.

Additionally the CRD for unused and obsolete DNSLocks is removed.

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer:

Release note:

Conditional deploy of CRDs on shoot.
MartinWeindel commented 2 weeks ago

rebased to resolve merge conflict