From 6520948289c1e1e0e9652b0f337409b76a93e2c4 Mon Sep 17 00:00:00 2001 From: Mike Dame Date: Thu, 2 Dec 2021 13:14:37 -0500 Subject: [PATCH 1/2] Add .ci-operator.yaml --- .ci-operator.yaml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .ci-operator.yaml diff --git a/.ci-operator.yaml b/.ci-operator.yaml new file mode 100644 index 00000000000..00d7adfcf4e --- /dev/null +++ b/.ci-operator.yaml @@ -0,0 +1,4 @@ +build_root_image: + name: release + namespace: openshift + tag: rhel-8-release-golang-1.17-openshift-4.10 From 781d551fbc0b378538b39eea323873e5d74e6d64 Mon Sep 17 00:00:00 2001 From: Mike Dame Date: Thu, 2 Dec 2021 15:24:45 -0500 Subject: [PATCH 2/2] Fix hack/verify-crds.sh check --- hack/verify-crds.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/verify-crds.sh b/hack/verify-crds.sh index 10f4eeb38a5..a06cd0d61c1 100755 --- a/hack/verify-crds.sh +++ b/hack/verify-crds.sh @@ -9,8 +9,8 @@ fi FAILS=false for f in $(find . -name "*.yaml" -type f); do - grep -qre "kind:\(.*\)CustomResourceDefinition" || continue - grep -qre "name:\(.*\).openshift.io" || continue + grep -qre "kind:\(.*\)CustomResourceDefinition" $f || continue + grep -qre "name:\(.*\).openshift.io" $f || continue if [[ $(./_output/tools/bin/yq r $f apiVersion) == "apiextensions.k8s.io/v1beta1" ]]; then if [[ $(./_output/tools/bin/yq r $f spec.validation.openAPIV3Schema.properties.metadata.description) != "null" ]]; then