[v2.11] Remove yq build dependency (#51043)

Backport of #51019 and #51046
This commit is contained in:
Peter Matseykanets
2025-07-16 09:21:28 -04:00
committed by GitHub
parent ea59287e1a
commit 811be0b3c4
10 changed files with 16 additions and 62 deletions

View File

@@ -29,8 +29,7 @@ webhookVersion: 2.0.6+up0.3.6-rc1
Then update the [export-config](../scripts/export-config) script.
```
CATTLE_RANCHER_WEBHOOK_VERSION=$(yq -e '.webhookVersion' "$file")
export CATTLE_RANCHER_WEBHOOK_VERSION
export CATTLE_RANCHER_WEBHOOK_VERSION=$(grep -m1 'webhookVersion' < "$file" | cut -d ' ' -f2)
```
Run `go generate` from the root of the repo.