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.