Closed AlanGreene closed 1 year ago
Most likely happening here: https://github.com/tektoncd/website/blob/58dda28aff6a206884189c069291292a592e2ca6/templates/version-switcher.js.template#L99 and https://github.com/tektoncd/website/blob/58dda28aff6a206884189c069291292a592e2ca6/templates/version-switcher.js.template#L107
It would have versionName
as v0.41.x
which doesn't match the displayName v0.41.x LTS
Any concerns with switching to a prefix match instead?
Sounds good to me, thank you @AlanGreene
Expected Behavior
The version dropdown should show the selected version in the header.
See for example with Pipelines v0.43.x![image](https://user-images.githubusercontent.com/2829095/215828642-80d74403-49eb-4075-9a3e-08209542c1b6.png)
Header displays the selected version.
Actual Behavior
Select an LTS release and the header shows![image](https://user-images.githubusercontent.com/2829095/215828409-3c28d501-c296-4eb0-8bcc-175ce2cc8356.png)
undefined
instead of the version.Steps to Reproduce the Problem
Additional Info
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version:
Output of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'