@@ -37,8 +37,8 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL)
3737# This variable is used to construct full image tags for bundle and catalog images.
3838#
3939# For example, running 'make bundle-build bundle-push catalog-build catalog-push' will build and push both
40- # qubership.org /zookeeper-service-operator-bundle:$VERSION and qubership.org /zookeeper-service-operator-catalog:$VERSION.
41- IMAGE_TAG_BASE ?= qubership.org /zookeeper-service-operator
40+ # netcracker.com /zookeeper-service-operator-bundle:$VERSION and netcracker.com /zookeeper-service-operator-catalog:$VERSION.
41+ IMAGE_TAG_BASE ?= netcracker.com /zookeeper-service-operator
4242
4343# BUNDLE_IMG defines the image:tag used for the bundle.
4444# You can use it as an arg. (E.g make bundle-build BUNDLE_IMG=<some-registry>/<project-name-bundle>:<tag>)
@@ -87,9 +87,9 @@ help: ## Display this help.
8787.PHONY : manifests
8888manifests : controller-gen # # Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
8989 $(CONTROLLER_GEN ) rbac:roleName=manager-role crd:maxDescLen=0 webhook paths=" ./..." output:crd:artifacts:config=config/crd/bases
90- sed -i " /annotations:/a\ crd.qubership.org \/version: $( CRD_VERSION) " config/crd/bases/qubership.org_zookeeperservices .yaml
90+ sed -i " /annotations:/a\ crd.netcracker.com \/version: $( CRD_VERSION) " config/crd/bases/netcracker.com_zookeeperservices .yaml
9191 $(CONTROLLER_GEN ) rbac:roleName=manager-role crd:crdVersions=v1beta1,trivialVersions=false,maxDescLen=0 webhook paths=" ./..." output:crd:artifacts:config=config/crd/old
92- sed -i " /annotations:/a\ crd.qubership.org \/version: $( CRD_VERSION) " config/crd/old/qubership.org_zookeeperservices .yaml
92+ sed -i " /annotations:/a\ crd.netcracker.com \/version: $( CRD_VERSION) " config/crd/old/netcracker.com_zookeeperservices .yaml
9393
9494.PHONY : generate
9595generate : controller-gen # # Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
@@ -234,3 +234,8 @@ catalog-build: opm ## Build a catalog image.
234234.PHONY : catalog-push
235235catalog-push : # # Push a catalog image.
236236 $(MAKE ) docker-push IMG=$(CATALOG_IMG )
237+
238+ capabilities : capmd-gen
239+ CAPMD_GEN=$(CAPMDGEN_DIR ) /capmdgen ; \
240+ $(CAPMDGEN_DIR ) /capmdgen -schema $(CAPMDGEN_DIR ) /schema/capabilities_schema.json \
241+ -yaml ../docs/data/capabilities.yaml -output ../docs/public/capabilites.md
0 commit comments