Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-6513

admission web hook probe error when deploy sample KSVC based app and then modifying icon

XMLWordPrintable

    • Low
    • None
    • ODC Sprint 237, ODC Sprint 238, ODC Sprint 3244
    • 3
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously there was an issue with the *Edit Knative Service* form that prevented users from editing the Knative service they previously created. With this update, you can edit a Knative service that was previously created. (link: https://issues.redhat.com/browse/OCPBUGS-6513[*OCPBUGS-6513*])
      Show
      * Previously there was an issue with the *Edit Knative Service* form that prevented users from editing the Knative service they previously created. With this update, you can edit a Knative service that was previously created. (link: https://issues.redhat.com/browse/OCPBUGS-6513 [* OCPBUGS-6513 *])
    • Bug Fix
    • Done

      Description of problem:

      Using the web console on the RH Developer Sandbox, created the most basic Knative Service (KSVC) using the default suggested, ie image openshift/hello-openshift.
      
      Then tried to change the displayed icon using the web UI and an error about Probes was displayed. See attached images.
      
      The error has no relevance to the item changed.
      
      

      Version-Release number of selected component (if applicable):

      whatever the RH sandbox uses, this value is not displayed to users

      How reproducible:

      very

      Steps to Reproduce:

      Using the web console on the RH Developer Sandbox, created the most basic Knative Service (KSVC) using the default image openshift/hello-openshift.
      
      Then used the webUi to edit the KSVC sample to change the icon used from an OpenShift logo to a 3Scale logo for instance.
      
      When saving from this form an error was reported: admission webhook 'validation webhook.serving.knative.dev' denied the request: validation failed: must not set the field(s): spec.template.spec.containers[0].readiness.Probe
      
      
      
      
      

      Actual results:

       

      Expected results:

      Either a failure message related to changing the icon, or the icon change to take effect

      Additional info:

      KSVC details as provided by the web console.
      
      apiVersion: serving.knative.dev/v1
      kind: Service
      metadata:
        name: sample
        namespace: agroom-dev
      spec:
        template:
          spec:
            containers:
              - image: openshift/hello-openshift

        1. display-image.png
          display-image.png
          37 kB
        2. sample.png
          sample.png
          52 kB

            avik6028 Avik Kundu
            agroom@redhat.com Alex Groom
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: