Simplify kube-cross dependency handling

We can indirectly retrieve the kube-cross version from the
`build/build-image/cross/VERSION` for the sample-apiserver. This allows
us to simplify the handling in `build/dependencies.yaml` as well as
the required approval (via `OWNERS`) if the kube-cross version changes.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
This commit is contained in:
Sascha Grunert
2021-05-27 14:37:07 +02:00
parent 6db6c80656
commit 0ed0714f8c
2 changed files with 2 additions and 3 deletions

View File

@@ -127,8 +127,6 @@ dependencies:
version: v1.16.4-2
refPaths:
- path: build/build-image/cross/VERSION
- path: test/images/sample-apiserver/Makefile
match: k8s\.gcr\.io\/build-image\/kube-cross:v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
# Base images
- name: "k8s.gcr.io/debian-base: dependents"