File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ IMAGE_NAME?=network-operator
4949CONTROLLER_IMAGE =$(REGISTRY ) /$(IMAGE_NAME )
5050IMAGE_BUILD_OPTS? =
5151BUNDLE_IMG? =network-operator-bundle:$(VERSION )
52- BUNDLE_OCP_VERSIONS? =v4.15-v4.18
5352# BUNDLE_GEN_FLAGS are the flags passed to the operator-sdk generate bundle command
5453BUNDLE_GEN_FLAGS ?= -q --overwrite --version $(VERSION ) $(BUNDLE_METADATA_OPTS )
5554BUILD_ARCH = amd64 arm64
@@ -404,7 +403,7 @@ bundle: $(OPERATOR_SDK) $(KUSTOMIZE) manifests ## Generate bundle manifests and
404403 cd config/manager && $(KUSTOMIZE ) edit set image controller=$(TAG )
405404 $(KUSTOMIZE ) build config/manifests | $(OPERATOR_SDK ) generate bundle $(BUNDLE_GEN_FLAGS )
406405 git checkout -- config/manager/kustomization.yaml
407- GO=$(GO ) BUNDLE_OCP_VERSIONS= $( BUNDLE_OCP_VERSIONS ) TAG=$(TAG ) hack/scripts/ocp-bundle-postprocess.sh
406+ GO=$(GO ) TAG=$(TAG ) hack/scripts/ocp-bundle-postprocess.sh
408407 $(OPERATOR_SDK ) bundle validate ./bundle
409408
410409.PHONY : bundle-build
Original file line number Diff line number Diff line change @@ -13,4 +13,3 @@ annotations:
1313 # Annotations for testing.
1414 operators.operatorframework.io.test.mediatype.v1 : scorecard+v1
1515 operators.operatorframework.io.test.config.v1 : tests/scorecard/
16- com.redhat.openshift.versions : v4.15-v4.18
Original file line number Diff line number Diff line change @@ -35,5 +35,3 @@ rm hack/related_images.yaml
3535# Escape the tag annotation value for sed
3636ESCAPED_TAG=$( printf ' %s\n' " $TAG " | sed -e ' s/[]\/$*.^[]/\\&/g' )
3737sed -i " 0,/annotations:/s/annotations:/annotations:\n containerImage: $ESCAPED_TAG /" bundle/manifests/nvidia-network-operator.clusterserviceversion.yaml
38- # Add OpenShift versions in metadata/annotations.yaml
39- echo " com.redhat.openshift.versions: $BUNDLE_OCP_VERSIONS " >> bundle/metadata/annotations.yaml
You can’t perform that action at this time.
0 commit comments