diff --git a/Makefile b/Makefile index cf465332..abc8cca1 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ ARCH ?= amd64 OS ?= $(shell uname -s | tr A-Z a-z) K8S_LATEST_VER ?= $(shell curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt) export CONTROLLER_IMG ?= $(REGISTRY)/$(IMAGE_NAME) -TAG ?= dev +TAG ?= v0.3.0 # Get cluster-api version and build ldflags clusterapi := $(shell go list -m sigs.k8s.io/cluster-api) @@ -244,8 +244,8 @@ deploy-projectsveltos: $(KUSTOMIZE) $(MAKE) load-image @echo 'Install libsveltos CRDs' - $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/dev/config/crd/bases/lib.projectsveltos.io_debuggingconfigurations.yaml - $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/dev/config/crd/bases/lib.projectsveltos.io_sveltosclusters.yaml + $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/v0.3.0/config/crd/bases/lib.projectsveltos.io_debuggingconfigurations.yaml + $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/v0.3.0/config/crd/bases/lib.projectsveltos.io_sveltosclusters.yaml # Install projectsveltos controller-manager components @echo 'Install projectsveltos controller-manager components' @@ -253,7 +253,7 @@ deploy-projectsveltos: $(KUSTOMIZE) $(KUSTOMIZE) build config/default | $(ENVSUBST) | $(KUBECTL) apply -f- # Install sveltoscluster-manager - $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/sveltoscluster-manager/dev/manifest/manifest.yaml + $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/sveltoscluster-manager/v0.3.0/manifest/manifest.yaml @echo "Waiting for projectsveltos controller-manager to be available..." $(KUBECTL) wait --for=condition=Available deployment/fm-controller-manager -n projectsveltos --timeout=$(TIMEOUT) @@ -270,7 +270,7 @@ set-manifest-pull-policy: drift-detection-manager: @echo "Downloading drift detection manager yaml" - curl -L https://raw.githubusercontent.com/projectsveltos/drift-detection-manager/dev/manifest/manifest.yaml -o ./pkg/drift-detection/drift-detection-manager.yaml + curl -L https://raw.githubusercontent.com/projectsveltos/drift-detection-manager/v0.3.0/manifest/manifest.yaml -o ./pkg/drift-detection/drift-detection-manager.yaml cd pkg/drift-detection; go generate .PHONY: build diff --git a/README.md b/README.md index d87f9553..281919f8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ # Sveltos - + Please refere to sveltos [documentation](https://projectsveltos.github.io/sveltos/). diff --git a/config/default/manager_image_patch.yaml b/config/default/manager_image_patch.yaml index 78a10107..87c53efa 100644 --- a/config/default/manager_image_patch.yaml +++ b/config/default/manager_image_patch.yaml @@ -8,5 +8,5 @@ spec: spec: containers: # Change the value of image field below to your controller image URL - - image: gianlucam76/sveltos-manager-amd64:dev + - image: gianlucam76/sveltos-manager-amd64:v0.3.0 name: manager diff --git a/manifest/manifest.yaml b/manifest/manifest.yaml index 0ace0f0a..a47738b0 100644 --- a/manifest/manifest.yaml +++ b/manifest/manifest.yaml @@ -1383,7 +1383,7 @@ spec: - --v=5 command: - /manager - image: gianlucam76/sveltos-manager-amd64:dev + image: gianlucam76/sveltos-manager-amd64:v0.3.0 livenessProbe: httpGet: path: /healthz diff --git a/pkg/drift-detection/drift-detection-manager.go b/pkg/drift-detection/drift-detection-manager.go index 79cab23a..f1abc80b 100644 --- a/pkg/drift-detection/drift-detection-manager.go +++ b/pkg/drift-detection/drift-detection-manager.go @@ -260,7 +260,7 @@ spec: - --run-mode=do-not-send-updates command: - /manager - image: gianlucam76/drift-detection-manager-amd64:dev + image: gianlucam76/drift-detection-manager-amd64:v0.3.0 livenessProbe: httpGet: path: /healthz diff --git a/pkg/drift-detection/drift-detection-manager.yaml b/pkg/drift-detection/drift-detection-manager.yaml index 05aa0280..039416f5 100644 --- a/pkg/drift-detection/drift-detection-manager.yaml +++ b/pkg/drift-detection/drift-detection-manager.yaml @@ -242,7 +242,7 @@ spec: - --run-mode=do-not-send-updates command: - /manager - image: gianlucam76/drift-detection-manager-amd64:dev + image: gianlucam76/drift-detection-manager-amd64:v0.3.0 livenessProbe: httpGet: path: /healthz