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 RecoverPanic to true for controller reconcile #5383

Merged
merged 5 commits into from
Feb 14, 2022

Conversation

acumino
Copy link
Member

@acumino acumino commented Feb 2, 2022

How to categorize this PR?

/area open-source
/kind enhancement

What this PR does / why we need it:
This PR sets the RecoverPanic to true for the controller reconcile. Now any panics raised by the reconciler are converted to normal errors.

Which issue(s) this PR fixes:
Part of #4772

Release note:

NONE

@acumino acumino requested a review from a team as a code owner February 2, 2022 12:30
@gardener-robot gardener-robot added needs/review area/open-source Open Source (community, enablement, contributions, conferences, CNCF, etc.) related kind/enhancement Enhancement, improvement, extension labels Feb 2, 2022
@gardener-robot
Copy link

@acumino Thank you for your contribution.

@gardener-robot gardener-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Feb 2, 2022
@gardener-robot
Copy link

@rfranzke, @danielfoehrKn You have pull request review open invite, please check

@rfranzke
Copy link
Member

rfranzke commented Feb 9, 2022

/author-action

@gardener-robot
Copy link

@acumino The pull request was assigned to you under author-action. Please unassign yourself when you are done. Thank you.

@acumino
Copy link
Member Author

acumino commented Feb 11, 2022

/unassign

pkg/provider-local/controller/controlplane/add.go Outdated Show resolved Hide resolved
pkg/provider-local/controller/dnsrecord/add.go Outdated Show resolved Hide resolved
pkg/provider-local/controller/healthcheck/add.go Outdated Show resolved Hide resolved
pkg/provider-local/controller/infrastructure/add.go Outdated Show resolved Hide resolved
pkg/provider-local/controller/network/add.go Outdated Show resolved Hide resolved
pkg/provider-local/controller/worker/add.go Outdated Show resolved Hide resolved
@gardener-robot gardener-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 14, 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 d7c9001 into gardener:master Feb 14, 2022
krgostev pushed a commit to krgostev/gardener that referenced this pull request Apr 21, 2022
* Set Recover panic true for Controllers

* Minor Edit

* Address PR reviews

* Set Recover panic true for extensions Controllers

* Address PR Review
krgostev pushed a commit to krgostev/gardener that referenced this pull request Jul 5, 2022
* Set Recover panic true for Controllers

* Minor Edit

* Address PR reviews

* Set Recover panic true for extensions Controllers

* Address PR Review
@acumino acumino deleted the ehc/recover-panic branch November 21, 2022 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/open-source Open Source (community, enablement, contributions, conferences, CNCF, etc.) related kind/enhancement Enhancement, improvement, extension size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants