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

Make custom console setting use custom params

XMLWordPrintable

    • 8
    • False
    • None
    • False
    • KONFLUX-1450 - Improve fork workflow for common assets in Konflux, like PaC
    • Hide
      The custom console driver fro paac now supports all the standard variables as exposed on the Pipelinerun (refer to the documentation on Authoring PipelineRuns) with the added variable:

          {{ namespace }}: The target namespace where the pipelinerun is executed
          {{ pr }}: The PipelineRun name.

      example: https://mycorp.com/ns/{{ namespace }}/pipelinerun/{{ pr }}

      Moreover it supports the custom parameters on Repository CR. If the user has a parameter in their Repo CR like this :

      [...]
      spec:
       params:
         - name: custom
           value: value

      and the global configuration setting for custom-console-url-pr-details is:

      https://mycorp.com/ns/{{ namespace }}/{{ custom }}

      the {{ custom }} tag in the URL is expanded as value.

      This let operator to add specific information or a UUID about a user as parameter in their repo CR and let it link to the console.

      Show
      The custom console driver fro paac now supports all the standard variables as exposed on the Pipelinerun (refer to the documentation on Authoring PipelineRuns) with the added variable:     {{ namespace }}: The target namespace where the pipelinerun is executed     {{ pr }}: The PipelineRun name. example: https://mycorp.com/ns/ {{ namespace }}/pipelinerun/{{ pr }} Moreover it supports the custom parameters on Repository CR. If the user has a parameter in their Repo CR like this : [...] spec:  params:    - name: custom      value: value and the global configuration setting for custom-console-url-pr-details is: https://mycorp.com/ns/ {{ namespace }}/{{ custom }} the {{ custom }} tag in the URL is expanded as value. This let operator to add specific information or a UUID about a user as parameter in their repo CR and let it link to the console.
    • Feature
    • 3
    • Pipelines Sprint 236, Pipelines Sprint 237, Pipelines Sprint 238, Pipelines Sprint 239, Pipelines Sprint 240

            cboudjna@redhat.com Chmouel Boudjnah
            cboudjna@redhat.com Chmouel Boudjnah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: