From be0c230668b5081c82d16b0427cfc69b3db748f8 Mon Sep 17 00:00:00 2001 From: "jesus m. rodriguez" Date: Thu, 28 Jan 2021 16:23:24 -0500 Subject: [PATCH] Bug 1921727: Bundle validate should not fail because of warnings. Bumped to operator-framework/api. Signed-off-by: jesus m. rodriguez --- .../fragments/fix-bundle-validate-failure-on-warnings.yaml | 6 ++++++ go.mod | 2 +- go.sum | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 changelog/fragments/fix-bundle-validate-failure-on-warnings.yaml diff --git a/changelog/fragments/fix-bundle-validate-failure-on-warnings.yaml b/changelog/fragments/fix-bundle-validate-failure-on-warnings.yaml new file mode 100644 index 0000000000..a48643e8f4 --- /dev/null +++ b/changelog/fragments/fix-bundle-validate-failure-on-warnings.yaml @@ -0,0 +1,6 @@ +entries: + - description: > + Bump operator-framework/api to fix "operator-sdk bundle validate" failure when bundle has warnings. + When a warning is detected during validation it should be logged to the CLI but the validation should still pass. + kind: bugfix + breaking: false diff --git a/go.mod b/go.mod index 74021f652f..0f2f81c95a 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/markbates/inflect v1.0.4 github.com/onsi/ginkgo v1.14.1 github.com/onsi/gomega v1.10.2 - github.com/operator-framework/api v0.5.2 + github.com/operator-framework/api v0.5.3 github.com/operator-framework/operator-lib v0.4.0 github.com/operator-framework/operator-registry v1.15.3 github.com/prometheus/client_golang v1.7.1 diff --git a/go.sum b/go.sum index 8c487d1a8a..1f60e99095 100644 --- a/go.sum +++ b/go.sum @@ -754,6 +754,8 @@ github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnh github.com/operator-framework/api v0.3.22/go.mod h1:GVNiB6AQucwdZz3ZFXNv9HtcLOzcFnr6O/QldzKG93g= github.com/operator-framework/api v0.5.2 h1:NLgOoi70+iyz4vVJeeJUKaFT8wZaCbCHzS1eExCqX7A= github.com/operator-framework/api v0.5.2/go.mod h1:L7IvLd/ckxJEJg/t4oTTlnHKAJIP/p51AvEslW3wYdY= +github.com/operator-framework/api v0.5.3 h1:1RDw2FbuEDtSC7ONKLKgAxtq+iRsV7rRTumD4RLQfSI= +github.com/operator-framework/api v0.5.3/go.mod h1:L7IvLd/ckxJEJg/t4oTTlnHKAJIP/p51AvEslW3wYdY= github.com/operator-framework/operator-lib v0.4.0 h1:g7tGRo+FikHgFZDmRdHkOxyTv3sViI+Ujiqbfd9Tfsk= github.com/operator-framework/operator-lib v0.4.0/go.mod h1:kOjV7h01DCSw3RZAqYdHyHyVwuJL8hvG53tSZoDZfsQ= github.com/operator-framework/operator-registry v1.15.3 h1:C+u+zjDh6yQAKN+DbUvPeLjojZtJftvp/J28rRqiWWU=