From 074015b1bfb18f78e1240b71aafcf3f1d6536835 Mon Sep 17 00:00:00 2001 From: Lukas Krejci Date: Thu, 4 Jul 2024 21:00:03 +0200 Subject: [PATCH] make status.apiEndpoint and status.operatorNamespace required. --- .../crd/bases/toolchain.dev.openshift.com_memberstatuses.yaml | 2 ++ .../bases/toolchain.dev.openshift.com_toolchainclusters.yaml | 2 ++ go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/config/crd/bases/toolchain.dev.openshift.com_memberstatuses.yaml b/config/crd/bases/toolchain.dev.openshift.com_memberstatuses.yaml index 005301cb..9fc7c32a 100644 --- a/config/crd/bases/toolchain.dev.openshift.com_memberstatuses.yaml +++ b/config/crd/bases/toolchain.dev.openshift.com_memberstatuses.yaml @@ -208,7 +208,9 @@ spec: runs in the remote cluster type: string required: + - apiEndpoint - conditions + - operatorNamespace type: object memberOperator: description: MemberOperator is the status of a toolchain member operator diff --git a/config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml b/config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml index 5e20f34c..1d88407a 100644 --- a/config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml +++ b/config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml @@ -127,7 +127,9 @@ spec: runs in the remote cluster type: string required: + - apiEndpoint - conditions + - operatorNamespace type: object required: - spec diff --git a/go.mod b/go.mod index 88f20753..6bbf4f3a 100644 --- a/go.mod +++ b/go.mod @@ -110,4 +110,4 @@ require ( go 1.20 -replace github.com/codeready-toolchain/api => github.com/metlos/api v0.0.0-20240703104250-40b2c66a959f +replace github.com/codeready-toolchain/api => github.com/metlos/api v0.0.0-20240704185630-4a086a7f3529 diff --git a/go.sum b/go.sum index 3320ef1a..c8351443 100644 --- a/go.sum +++ b/go.sum @@ -420,8 +420,8 @@ github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/metlos/api v0.0.0-20240703104250-40b2c66a959f h1:0b5eSlDzCtvIjz8yKhgqouOjlJsKXTttQ7mWTAh2G4Y= -github.com/metlos/api v0.0.0-20240703104250-40b2c66a959f/go.mod h1:ie9p4LenCCS0LsnbWp6/xwpFDdCWYE0KWzUO6Sk1g0E= +github.com/metlos/api v0.0.0-20240704185630-4a086a7f3529 h1:4WmVEQYXa5773pclUZ8MammQQSoAqkx97J7Z8/JDnfM= +github.com/metlos/api v0.0.0-20240704185630-4a086a7f3529/go.mod h1:ie9p4LenCCS0LsnbWp6/xwpFDdCWYE0KWzUO6Sk1g0E= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/migueleliasweb/go-github-mock v0.0.18 h1:0lWt9MYmZQGnQE2rFtjlft/YtD6hzxuN6JJRFpujzEI= github.com/migueleliasweb/go-github-mock v0.0.18/go.mod h1:CcgXcbMoRnf3rRVHqGssuBquZDIcaplxL2W6G+xs7kM=