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

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

XMLWordPrintable

    • Low
    • No
    • ODC Sprint 3246
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-19907. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-18764. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-6513. The following is the description of the original issue:

      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

            avik6028 Avik Kundu
            openshift-crt-jira-prow OpenShift Prow Bot
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: