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

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

    XMLWordPrintable

Details

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

      None

      Show
      None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: