Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: get tektonconfig version from label
When the `managedFields` field is present in the TektonConfig CR, the `kubectl get tektonconfig config -o yaml` command returns multiple `operator.tekton.dev/release-version` labels. This causes the `tektonconfig_version_from_label` function to return an incorrect version. This commit fixes the issue by adding a `head -n 1` command to the `grep` command in the `tektonconfig_version_from_label` function.
- Loading branch information