Skip to content

Commit

Permalink
chore(csv): put v1beta2 crd version first in owned list (#852)
Browse files Browse the repository at this point in the history
Signed-off-by: Thuan Vo <[email protected]>
  • Loading branch information
tthvo authored Jun 6, 2024
1 parent 26ee9c4 commit abf08f0
Show file tree
Hide file tree
Showing 3 changed files with 1,153 additions and 1,271 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ ifeq ($(BUNDLE_MODE), ocp)
cd config/manifests && $(KUSTOMIZE) edit add base ../openshift
endif
$(KUSTOMIZE) build config/manifests | $(OPERATOR_SDK) generate bundle $(BUNDLE_GEN_FLAGS)
# Workaround for: https://issues.redhat.com/browse/OCPBUGS-34901
yq -i '.spec.customresourcedefinitions.owned |= pick([1, 0])' bundle/manifests/cryostat-operator.clusterserviceversion.yaml
$(OPERATOR_SDK) bundle validate ./bundle

.PHONY: bundle-build
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ the need to expose a JMX port over the network.
- [`operator-sdk`](https://github.com/operator-framework/operator-sdk) v1.31.0
- `podman` or `docker`
- [`jq`](https://stedolan.github.io/jq/) v1.6+
- [`yq`](https://github.com/mikefarah/yq/) v4.35+
- `ginkgo` (Optional)

## Instructions
Expand Down
Loading

0 comments on commit abf08f0

Please sign in to comment.