Skip to content

Commit

Permalink
fix install main
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadura committed Apr 5, 2024
1 parent f5d8e17 commit edc319f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ SHELL = /usr/bin/env bash -o pipefail
##@ Development
CONFIG_OPERATOR = $(PROJECT_ROOT)/config/operator/base
CONFIG_OPERATOR_DEV = $(PROJECT_ROOT)/config/operator/dev
CONFIG_OPERATOR_MAIN = https://github.com/kyma-project/serverless/config/operator/base?ref=main

.PHONY: manifests
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
Expand Down Expand Up @@ -88,7 +89,7 @@ uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified
.PHONY: deploy-main
deploy-main: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
kubectl create namespace kyma-system || true
$(KUSTOMIZE) build $(CONFIG_OPERATOR) | kubectl apply -f -
$(KUSTOMIZE) build $(CONFIG_OPERATOR_MAIN) | kubectl apply -f -


.PHONY: generate-kustomization-dev
Expand Down

0 comments on commit edc319f

Please sign in to comment.