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

Set ingress DNSRecord component values even if the addon is disabled #5482

Merged

Conversation

ialidzhikov
Copy link
Member

/area quality
/kind bug

With this PR we set the DNSRecord component values (incl. the SecretData that is needed for Destroy) even if the addon is disabled. Currently when the addon gets disabled, the SecretData is not passed as value and on ingress DNSRecord Destroy, the Destroy func sets external Secret .data to nil -> ingress DNSRecord deletion fails.

Fixes #5480

Release note:

An issue preventing the nginx-ingress addon to be disabled is now fixed.

Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
@ialidzhikov ialidzhikov requested a review from a team as a code owner February 23, 2022 13:46
@gardener-robot gardener-robot added area/quality Output qualification (tests, checks, scans, automation in general, etc.) related kind/bug Bug needs/review size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 23, 2022
Copy link
Member

@rfranzke rfranzke left a comment

Choose a reason for hiding this comment

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

/lgtm

@rfranzke rfranzke merged commit 3cf3c89 into gardener:master Feb 25, 2022
krgostev pushed a commit to krgostev/gardener that referenced this pull request Apr 21, 2022
@ialidzhikov ialidzhikov deleted the fix/ingress-dnsrecord-deletion branch June 27, 2022 06:00
krgostev pushed a commit to krgostev/gardener that referenced this pull request Jul 5, 2022
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 size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot disable nginx-ingress addon
5 participants