@@ -19,13 +19,13 @@ SHELL = /usr/bin/env bash -o pipefail
1919.SHELLFLAGS = -ec
2020
2121# Define Docker related variables.
22- REGISTRY ?= gianlucam76
22+ REGISTRY ?= projectsveltos
2323IMAGE_NAME ?= sveltos-manager
2424ARCH ?= amd64
2525OS ?= $(shell uname -s | tr A-Z a-z)
2626K8S_LATEST_VER ?= $(shell curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)
2727export CONTROLLER_IMG ?= $(REGISTRY ) /$(IMAGE_NAME )
28- TAG ?= main
28+ TAG ?= v0.6.0
2929
3030# Get cluster-api version and build ldflags
3131clusterapi := $(shell go list -m sigs.k8s.io/cluster-api)
@@ -244,16 +244,16 @@ deploy-projectsveltos: $(KUSTOMIZE)
244244 $(MAKE ) load-image
245245
246246 @echo 'Install libsveltos CRDs'
247- $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/main /config/crd/bases/lib.projectsveltos.io_debuggingconfigurations.yaml
248- $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/main /config/crd/bases/lib.projectsveltos.io_sveltosclusters.yaml
247+ $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/$(TAG) /config/crd/bases/lib.projectsveltos.io_debuggingconfigurations.yaml
248+ $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/$(TAG) /config/crd/bases/lib.projectsveltos.io_sveltosclusters.yaml
249249
250250 # Install projectsveltos controller-manager components
251251 @echo 'Install projectsveltos controller-manager components'
252252 cd config/manager && ../../$(KUSTOMIZE) edit set image controller=${IMG}
253253 $(KUSTOMIZE) build config/default | $(ENVSUBST) | $(KUBECTL) apply -f-
254254
255255 # Install sveltoscluster-manager
256- $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/sveltoscluster-manager/main /manifest/manifest.yaml
256+ $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/sveltoscluster-manager/$(TAG) /manifest/manifest.yaml
257257
258258 @echo "Waiting for projectsveltos controller-manager to be available..."
259259 $(KUBECTL) wait --for=condition=Available deployment/fm-controller-manager -n projectsveltos --timeout=$(TIMEOUT)
0 commit comments