Skip to content

Commit

Permalink
renovate: match dl.k8s.io for K8s releases (#3573)
Browse files Browse the repository at this point in the history
We have a version mismatch in our Kubernetes (e.g. `kubadm`) versions
and the versions the CLI expects to have right now, as the Renovate rule
didn't match the `dl.k8s.io` URLs introduced in c1714aa.
This fixes the issue by adjusting the Regex. Updates should work again
when the versions are back in sync.
  • Loading branch information
msanft authored Jan 14, 2025
1 parent 91ffc68 commit 9f59990
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@
"fileMatch": ["(^|\\/)versions.go$"],
"matchStrings": [
// Match kubernetes releases.
// example match:' "https://storage.googleapis.com/kubernetes-release/release/v1.2.3/foo" // renovate:kubernetes-release'
// example match:' "https://dl.k8s.io/v1.2.3/foo" // renovate:kubernetes-release'
// (v1.2.3 -> currentValue)
" \"https:\\/\\/storage\\.googleapis\\.com\\/kubernetes-release\\/release\\/(?<currentValue>[^\\/\\s\"]+)\\/[^\"]+\"[^\\n]+\\/\\/ renovate:kubernetes-release",
" \"https:\\/\\/dl\\.k8s\\.io\\/(?<currentValue>[^\\/\\s\"]+)\\/[^\"]+\"[^\\n]+\\/\\/ renovate:kubernetes-release",
// Match kubernetes releases.
// example match:' " "v1.2.3" // renovate:kubernetes-release"'
// (v1.2.3 -> currentValue)
Expand Down

0 comments on commit 9f59990

Please sign in to comment.