Skip to content

Commit

Permalink
Merge pull request #901 from flavio/do-not-exit-when-admission-match-…
Browse files Browse the repository at this point in the history
…conditions-are-not-available

fix: do not exit when k8s' matchConditions are not available
  • Loading branch information
flavio authored Oct 1, 2024
2 parents 4be87f4 + f05f8aa commit 5a4df6b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ func main() {
featureGateAdmissionWebhookMatchConditions, err := featuregates.CheckAdmissionWebhookMatchConditions(ctrl.GetConfigOrDie())
if err != nil {
setupLog.Error(err, "unable to check for feature gate AdmissionWebhookMatchConditions")
retcode = 1
return
}

if err = setupReconcilers(mgr, deploymentsNamespace, webhookServiceName, enableMetrics, enableTracing, alwaysAcceptAdmissionReviewsOnDeploymentsNamespace, featureGateAdmissionWebhookMatchConditions); err != nil {
Expand Down

0 comments on commit 5a4df6b

Please sign in to comment.