diff --git a/changelog/fragments/suite.yaml b/changelog/fragments/suite.yaml new file mode 100644 index 00000000000..d17775e3c59 --- /dev/null +++ b/changelog/fragments/suite.yaml @@ -0,0 +1,16 @@ +# entries is a list of entries to include in +# release notes and/or the migration guide +entries: + - description: > + Add the deprecated APIs optional checker, `alpha-deprecated-apis`, to the suite operatorframework. + + # kind is one of: + # - addition + # - change + # - deprecation + # - removal + # - bugfix + kind: "addition" + + # Is this a breaking change? + breaking: false \ No newline at end of file diff --git a/internal/cmd/operator-sdk/bundle/validate/optional.go b/internal/cmd/operator-sdk/bundle/validate/optional.go index 50857b155a7..5032c9160a2 100644 --- a/internal/cmd/operator-sdk/bundle/validate/optional.go +++ b/internal/cmd/operator-sdk/bundle/validate/optional.go @@ -57,8 +57,9 @@ var optionalValidators = validators{ name: "alpha-deprecated-apis", labels: map[string]string{ nameKey: "alpha-deprecated-apis", + suiteKey: "operatorframework", }, - desc: "(stage: alpha) Deprecated APIs bundle validation. This valiator can help you out verify if your bundle contains manifests which uses deprecated APIs. More info: https://kubernetes.io/docs/reference/using-api/deprecation-guide/", + desc: "(stage: alpha) Deprecated APIs bundle validation. This validator can help you out verify if your bundle contains manifests which uses deprecated APIs. More info: https://kubernetes.io/docs/reference/using-api/deprecation-guide/", }, }