Skip to content

Commit 5d951b8

Browse files
authored
Update api dependency to 0.19.0 (#1157)
Additionally, this bump does not consume the validation changes added to the latest api release. Rather, it marks `opm alpha bundle validate` as deprecated, as it will be removed in a future release. Signed-off-by: kevinrizza <[email protected]>
1 parent b137480 commit 5d951b8

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

cmd/opm/alpha/bundle/validate.go

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,13 @@ Optional validators. These validators are disabled by default and can be enabled
3535
* Operatorhub validator - performs operatorhub.io validation. To validate a bundle using custom categories use with the OPERATOR_BUNDLE_CATEGORIES environmental variable to point to a json-encoded categories file.
3636
* Bundle objects validator - performs validation on resources like PodDisruptionBudgets and PriorityClasses.
3737
38-
See https://olm.operatorframework.io/docs/tasks/validate-package/#validation for more info.`,
39-
Example: `$ opm alpha bundle validate --tag quay.io/test/test-operator:latest --image-builder docker`,
40-
RunE: validateFunc,
41-
Args: cobra.NoArgs,
38+
See https://olm.operatorframework.io/docs/tasks/validate-package/#validation for more info.
39+
40+
Note that this subcommand is deprecated and will be removed in a future release. Migrate to operator-sdk bundle validate.`,
41+
Example: `$ opm alpha bundle validate --tag quay.io/test/test-operator:latest --image-builder docker`,
42+
RunE: validateFunc,
43+
Args: cobra.NoArgs,
44+
Deprecated: "This subcommand is deprecated and will be removed in a future release. Migrate to operator-sdk bundle validate",
4245
}
4346

4447
bundleValidateCmd.Flags().StringVarP(&tag, "tag", "t", "",

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
github.com/onsi/gomega v1.27.7
2424
github.com/opencontainers/go-digest v1.0.0
2525
github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b
26-
github.com/operator-framework/api v0.18.0
26+
github.com/operator-framework/api v0.19.0
2727
github.com/otiai10/copy v1.2.0
2828
github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
2929
github.com/pkg/errors v0.9.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,8 @@ github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mo
725725
github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqiriPsEqVhc+svHE=
726726
github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo=
727727
github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8=
728-
github.com/operator-framework/api v0.18.0 h1:6EdSNeAjin4LRu2YQnQWMJMc6HXS0AQDG+CfaEvFrAo=
729-
github.com/operator-framework/api v0.18.0/go.mod h1:SCCslqke6AVOJ5JM+NqNE1CHuAgJLScsL66pnPaSMXs=
728+
github.com/operator-framework/api v0.19.0 h1:QU1CTJU+CufoeneA5rsNlP/uP96s8vDHWUYDFZTauzA=
729+
github.com/operator-framework/api v0.19.0/go.mod h1:SCCslqke6AVOJ5JM+NqNE1CHuAgJLScsL66pnPaSMXs=
730730
github.com/otiai10/copy v1.2.0 h1:HvG945u96iNadPoG2/Ja2+AUJeW5YuFQMixq9yirC+k=
731731
github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw=
732732
github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE=

0 commit comments

Comments
 (0)