Skip to content

Commit

Permalink
feat; add new validator for deprecated apis
Browse files Browse the repository at this point in the history
  • Loading branch information
Camila Macedo committed Sep 16, 2021
1 parent ade4be2 commit 92a957f
Show file tree
Hide file tree
Showing 6 changed files with 338 additions and 116 deletions.
17 changes: 17 additions & 0 deletions changelog/fragments/add-alpha-validator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# entries is a list of entries to include in
# release notes and/or the migration guide
entries:
- description: >
Add new optional validator `alpha-deprecated-apis` for the command bundle validate to help you verify if your bundle uses Kubernetes deprecated APIs.
# kind is one of:
# - addition
# - change
# - deprecation
# - removal
# - bugfix
kind: "addition"
# Is this a breaking change?
breaking: false
22 changes: 11 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/markbates/inflect v1.0.4
github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2
github.com/onsi/ginkgo v1.16.4
github.com/onsi/gomega v1.13.0
github.com/onsi/gomega v1.15.0
github.com/operator-framework/api v0.10.5
github.com/operator-framework/java-operator-plugins v0.1.0
github.com/operator-framework/operator-lib v0.6.0
Expand All @@ -22,24 +22,23 @@ require (
github.com/sergi/go-diff v1.1.0
github.com/sirupsen/logrus v1.8.1
github.com/spf13/afero v1.6.0
github.com/spf13/cobra v1.1.3
github.com/spf13/cobra v1.2.1
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.7.0
github.com/spf13/viper v1.8.1
github.com/stretchr/testify v1.7.0
github.com/thoas/go-funk v0.8.0
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
golang.org/x/mod v0.4.2
golang.org/x/tools v0.1.3
golang.org/x/tools v0.1.5
gomodules.xyz/jsonpatch/v3 v3.0.1
helm.sh/helm/v3 v3.6.2
k8s.io/api v0.21.2
k8s.io/apiextensions-apiserver v0.21.2
k8s.io/apimachinery v0.21.2
k8s.io/api v0.22.1
k8s.io/apiextensions-apiserver v0.22.1
k8s.io/apimachinery v0.22.1
k8s.io/cli-runtime v0.21.0
k8s.io/client-go v0.21.2
k8s.io/client-go v0.22.1
k8s.io/kubectl v0.21.0
sigs.k8s.io/controller-runtime v0.9.2
sigs.k8s.io/controller-tools v0.6.0
sigs.k8s.io/controller-runtime v0.10.0
sigs.k8s.io/controller-tools v0.6.2
sigs.k8s.io/kubebuilder/v3 v3.0.0-alpha.0.0.20210803185103-51e4a9aa5055
sigs.k8s.io/yaml v1.2.0
)
Expand All @@ -53,6 +52,7 @@ replace (
// latest tag resolves to a very old version. this is only used for spinning up local test registries
github.com/docker/distribution => github.com/docker/distribution v0.0.0-20191216044856-a8371794149d
github.com/mattn/go-sqlite3 => github.com/mattn/go-sqlite3 v1.10.0
github.com/operator-framework/api => github.com/camilamacedo86/api v0.0.0-20210916185033-0c984232ed18
golang.org/x/text => golang.org/x/text v0.3.3 // Required to fix CVE-2020-14040
)

Expand Down
Loading

0 comments on commit 92a957f

Please sign in to comment.