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

Docs for enabling admission webhooks won't work on OCP/OKD 3.11

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • maistra-0.3.0
    • None
    • None
    • None
    • Maistra TP sprint 3

      Due to https://bugzilla.redhat.com/show_bug.cgi?id=1635918, the docs as written for enabling mutating and validating admission webhooks won't work under 3.11.

      The workaround you'll have to use on 3.11, until the bugzilla referenced above is fixed, is to use something like:

      admissionConfig:
        pluginConfig:
          MutatingAdmissionWebhook:
            configuration:
              apiVersion: apiserver.config.k8s.io/v1alpha1
              kubeConfigFile: /dev/null
              kind: WebhookAdmission
          ValidatingAdmissionWebhook:
            configuration:
              apiVersion: apiserver.config.k8s.io/v1alpha1
              kubeConfigFile: /dev/null
              kind: WebhookAdmission
      

      The relevant change is the contents of the configuration sections.

            kconner@redhat.com Kevin Conner (Inactive)
            bbrownin@redhat.com Ben Browning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: