Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-2939

config custom resource is not accepting `default-forbidden-env`

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • Pipelines 1.10.0
    • Pipelines 1.10.0
    • Operator
    • None
    • 1
    • False
    • None
    • False
    • Pipelines Sprint 234

    Description

      Description of problem:{}

      config custom resource is not accepting `default-forbidden-env`

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Install the latest build of Openshift Pipelines 1.10.0
      2. Try to add `default-forbidden-env: "TEST_TEKTON"` under pipeline section in config custom resource

      Actual results:

      Updating config custom resource is failing with error

      error: tektonconfigs.operator.tekton.dev "config" could not be patched: admission webhook "webhook.operator.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "default-forbidden-env" 

      Expected results:

      Config resource should get updated

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

      Attachments

        Activity

          People

            ppunamiy Puneet Punamiya
            varadhya Veeresh Aradhya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: