Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-2644

SMCP reconciliation fails on OCP 4.9 due to obsolete webhook api version

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Done
    • maistra-2.1.0
    • maistra-2.1.0
    • operator
    • None

    Description

      When deploying an SMCP on OCP 4.9, the following error happens:

      2021-09-03T12:48:13.687Z        ERROR   controller      Reconciler error        {"controller": "servicemeshcontrolplane-controller", "name": "minimal", "namespace": "istio-system", "error": "[no matches for kind \"MutatingWebhookConfiguration\" in version \"admissionregistration.k8s.io/v1beta1\", no matches for kind \"ValidatingWebhookConfiguration\" in version \"admissionregistration.k8s.io/v1beta1\"]", "errorCauses": [{"error": "no matches for kind \"MutatingWebhookConfiguration\" in version \"admissionregistration.k8s.io/v1beta1\""}, {"error": "no matches for kind \"ValidatingWebhookConfiguration\" in version \"admissionregistration.k8s.io/v1beta1\""}]}
      github.com/go-logr/zapr.(*zapLogger).Error
              /home/luksa/projects/go/src/github.com/maistra/istio-operator/vendor/github.com/go-logr/zapr/zapr.go:132
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
              /home/luksa/projects/go/src/github.com/maistra/istio-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:246
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
              /home/luksa/projects/go/src/github.com/maistra/istio-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:218
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
              /home/luksa/projects/go/src/github.com/maistra/istio-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:197
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
              /home/luksa/projects/go/src/github.com/maistra/istio-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:155
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil
              /home/luksa/projects/go/src/github.com/maistra/istio-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:156
      k8s.io/apimachinery/pkg/util/wait.JitterUntil
              /home/luksa/projects/go/src/github.com/maistra/istio-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133
      k8s.io/apimachinery/pkg/util/wait.Until
              /home/luksa/projects/go/src/github.com/maistra/istio-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:90
      

      Attachments

        Issue Links

          Activity

            People

              mluksa@redhat.com Marko Luksa
              mluksa@redhat.com Marko Luksa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: