Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Fixed problem with role name and update bundle generation with webhooks
Browse files Browse the repository at this point in the history
Signed-off-by: ruromero <[email protected]>
  • Loading branch information
ruromero committed Nov 4, 2022
1 parent 18b00c2 commit d33a37b
Show file tree
Hide file tree
Showing 14 changed files with 430 additions and 26 deletions.
13 changes: 12 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ VERSION ?= 1.0.0
KUBE_CLI=kubectl
OPERATOR_VERSION := 1.0.6
OPERATOR_ACCOUNT_NAME := activemq-artemis-operator
OPERATOR_CLUSTER_ROLE_NAME := operator-role
OPERATOR_CLUSTER_ROLE_NAME := operator
OPERATOR_IMAGE_REPO := quay.io/artemiscloud/activemq-artemis-operator
OPERATOR_NAMESPACE := activemq-artemis-operator
CATALOG_NAMESPACE := $(OPERATOR_NAMESPACE)
GO_MODULE := github.com/artemiscloud/activemq-artemis-operator

# directory to hold static resources for deploying operator
Expand Down Expand Up @@ -248,3 +249,13 @@ catalog-build: opm ## Build a catalog image.
.PHONY: catalog-push
catalog-push: ## Push a catalog image.
$(MAKE) docker-push IMG=$(CATALOG_IMG)

# Deploy the catalog.
.PHONY: catalog-deploy
catalog-deploy: opm ## Creates a catalog source
@sed -i 's|image.*|image: $(CATALOG_IMG)|' deploy/catalog/catalog-source.yaml
@sed -i 's|namespace.*|namespace: $(CATALOG_NAMESPACE)|' deploy/catalog/catalog-source.yaml
$(KUBE_CLI) apply -f deploy/catalog/catalog-source.yaml

catalog-undeploy: ## Removes the catalog source
$(KUBE_CLI) delete -f deploy/catalog/catalog-source.yaml
2 changes: 1 addition & 1 deletion bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=activemq-artemis-operator
LABEL operators.operatorframework.io.bundle.channels.v1=upstream
LABEL operators.operatorframework.io.bundle.channel.default.v1=upstream
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.14.0+git
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.14.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3

Expand Down
Loading

0 comments on commit d33a37b

Please sign in to comment.