Skip to content

Commit

Permalink
Merge pull request #86 from kwiatekus/add-render-manifest-target
Browse files Browse the repository at this point in the history
Add render-manifest make target
  • Loading branch information
kyma-bot authored Apr 3, 2023
2 parents 03d045a + 36f6a2e commit 74cd9a2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifndef MODULE_VERSION
MODULE_VERSION = 0.0.1
MODULE_VERSION = 0.0.2
endif
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ template.yaml
template-k3d.yaml
docs/.DS_Store
.DS_Store
vendor
vendor

serverless-manager.yaml
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default | kubectl apply -f -

.PHONY: render-manifest
render-manifest: manifests kustomize ## Render keda-manager.yaml manifest.
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default > serverless-manager.yaml

.PHONY: undeploy
undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with IGNORE_NOT_FOUND=true to ignore resource not found errors during deletion.
$(KUSTOMIZE) build config/default | kubectl delete --ignore-not-found=$(IGNORE_NOT_FOUND) -f -
Expand Down
4 changes: 4 additions & 0 deletions hack/ci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ run-with-lifecycle-manager:
.PHONY: run-without-lifecycle-manager
run-without-lifecycle-manager:
@make -C ${PROJECT_COMMON} run-without-lifecycle-manager

.PHONY: render-manifest
render-manifest:
@make -C ${PROJECT_ROOT} render-manifest

0 comments on commit 74cd9a2

Please sign in to comment.