Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-2749

[3.4] Documentation need update the mutatingwebhookconfigurations example for bridge operator installation

    XMLWordPrintable

Details

    • 0

    Description

      Document URL:

      https://access.redhat.com/documentation/en-us/red_hat_quay/3.4/html-single/manage_red_hat_quay/index#openshift_setup

      Section Number and Name:

      9.1.2.2. OpenShift Setup

      Describe the issue:

      the webhook-create-signed-cert.sh script and quay-mutating-webhook.yaml use deprecated API

      Suggestions for improvement:

      update script link: https://github.com/quay/quay-bridge-operator/blob/redhat-3.5/hack/webhook-create-signed-cert.sh

      quay-mutating-webhook.yaml:

      https://github.com/quay/quay-bridge-operator/blob/redhat-3.5/deploy/mutatingwebhookconfiguration.yaml

      apiVersion: admissionregistration.k8s.io/v1
      kind: MutatingWebhookConfiguration 
      metadata:
        name: quay-bridge-operator
      webhooks:
        - name: quayintegration.redhatcop.redhat.io
          clientConfig: 
            service:
              namespace: openshift-operators
              name: quay-bridge-operator
              path: "/admissionwebhook"
            caBundle: "${CA_BUNDLE}"
          rules: 
          - operations:  [ "CREATE" ]
            apiGroups: [ "build.openshift.io" ]
            apiVersions: ["v1" ]
            resources: [ "builds" ]
          failurePolicy: Fail
          matchPolicy: Exact
          timeoutSeconds: 30
          sideEffects: None
          admissionReviewVersions: [v1beta1]
      

      Additional information:

      Attachments

        Issue Links

          Activity

            People

              rhn-support-gmcgoldr Gabriel McGoldrick
              rhn-support-dyan Dongbo Yan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: