Skip to content

Commit

Permalink
Review changes: removed duplicate file & set image command
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobbins228 committed Dec 20, 2023
1 parent bb3bbb2 commit 7997b25
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 72 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ validate-bundle: install-operator-sdk
bundle: manifests kustomize install-operator-sdk ## Generate bundle manifests and metadata, then validate generated files.
cd config/manager && IMAGE=$(IMG) perl -i -pe 's/codeflare-operator-controller-image=(.*)$$/codeflare-operator-controller-image=$$ENV{"IMAGE"}/' params.env
$(OPERATOR_SDK) generate kustomize manifests -q
cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMG)
cd config/manifests && $(KUSTOMIZE) edit add patch --patch '[{"op":"add", "path":"/metadata/annotations/containerImage", "value": "$(IMG)" }]' --kind ClusterServiceVersion
cd config/manifests && $(KUSTOMIZE) edit add patch --patch '[{"op":"add", "path":"/spec/replaces", "value": "codeflare-operator.$(PREVIOUS_VERSION)" }]' --kind ClusterServiceVersion
$(KUSTOMIZE) build config/manifests | $(OPERATOR_SDK) generate bundle $(BUNDLE_GEN_FLAGS)
Expand Down
71 changes: 0 additions & 71 deletions config/manifests/codeflare-operator.clusterserviceversion.yaml

This file was deleted.

0 comments on commit 7997b25

Please sign in to comment.