Skip to content

Commit

Permalink
feat: add the deprecated APIs optional checker, , to the suite operat…
Browse files Browse the repository at this point in the history
…orframework

Signed-off-by: Camila Macedo <cmacedo@redhat.com>
  • Loading branch information
camilamacedo86 committed Nov 23, 2021
1 parent 67ac820 commit 5557053
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions changelog/fragments/suite.yaml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion internal/cmd/operator-sdk/bundle/validate/optional.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
},
}

Expand Down

0 comments on commit 5557053

Please sign in to comment.