Uploaded image for project: 'Database as a Service'
  1. Database as a Service
  2. DBAAS-852

DBaasConnection webhook fails when a CR is updated without spec changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Core - DBaaS Operator
    • None
    • False
    • None
    • False
    • No

      When a DBaaSConnection CR is updated without spec changes, for instance, adding a label to the CR, the update would fail with a webhook error like below:

      oc edit dbaasconnection myconnection2

      error: dbaasconnections.dbaas.redhat.com "myconnection2" could not be patched: Internal error occurred: failed calling webhook "vdbaasconnection.kb.io": failed to call webhook: Post "https://dbaas-operator-controller-manager-service.openshift-dbaas-operator.svc:443/validate-dbaas-redhat-com-v1alpha1-dbaasconnection?timeout=10s": EOF

              Unassigned Unassigned
              jianrzha@redhat.com Jianrong Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: