From f63a34243f589199fb10e22e02986d7b2cdb2e0b Mon Sep 17 00:00:00 2001 From: mgianluc Date: Thu, 17 Aug 2023 14:35:09 +0200 Subject: [PATCH] Release v0.15.1 --- Makefile | 4 +++- config/default/manager_image_patch.yaml | 2 +- go.mod | 2 +- go.sum | 4 ++-- manifest/manifest.yaml | 2 +- pkg/drift-detection/drift-detection-manager.go | 2 +- pkg/drift-detection/drift-detection-manager.yaml | 2 +- 7 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 9c74246b..ee6fbe4e 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.15.1 # Get cluster-api version and build ldflags clusterapi := $(shell go list -m sigs.k8s.io/cluster-api) @@ -195,6 +195,8 @@ quickstart: ## start kind cluster; install all cluster api components; create a $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/sveltos/$(TAG)/manifest/default-classifier.yaml $(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/sveltos/main/manifest/sveltosctl_manifest.yaml + sleep 5 + @echo "Waiting for projectsveltos addon-controller to be available..." $(KUBECTL) wait --for=condition=Available deployment/addon-controller -n projectsveltos --timeout=$(TIMEOUT) diff --git a/config/default/manager_image_patch.yaml b/config/default/manager_image_patch.yaml index 69525b25..2b7d482d 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: projectsveltos/addon-controller-amd64:dev + - image: projectsveltos/addon-controller-amd64:v0.15.1 name: controller diff --git a/go.mod b/go.mod index 0cbf1fd5..91bcfac1 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/onsi/ginkgo/v2 v2.11.0 github.com/onsi/gomega v1.27.8 github.com/pkg/errors v0.9.1 - github.com/projectsveltos/libsveltos v0.15.1-0.20230809060457-84a0ee57d801 + github.com/projectsveltos/libsveltos v0.15.1 github.com/prometheus/client_golang v1.16.0 github.com/spf13/pflag v1.0.5 github.com/yuin/gopher-lua v1.1.0 diff --git a/go.sum b/go.sum index 72649e6d..3fb5f802 100644 --- a/go.sum +++ b/go.sum @@ -557,8 +557,8 @@ github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSg github.com/poy/onpar v0.0.0-20200406201722-06f95a1c68e8/go.mod h1:nSbFQvMj97ZyhFRSJYtut+msi4sOY6zJDGCdSc+/rZU= github.com/poy/onpar v1.1.2 h1:QaNrNiZx0+Nar5dLgTVp5mXkyoVFIbepjyEoGSnhbAY= github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjzg= -github.com/projectsveltos/libsveltos v0.15.1-0.20230809060457-84a0ee57d801 h1:ONWlY4A1EDknXXOhYQPvw2sDCrLiCYk7F9TZTavE7FQ= -github.com/projectsveltos/libsveltos v0.15.1-0.20230809060457-84a0ee57d801/go.mod h1:7PaqLwqxsnsG+lV07m4RO4rOg2gKhlmpJVanWcB84JQ= +github.com/projectsveltos/libsveltos v0.15.1 h1:Rp7lbcjwODJmuhupTWHG9DMs0mrKt4wneiaIeWLaQI8= +github.com/projectsveltos/libsveltos v0.15.1/go.mod h1:7PaqLwqxsnsG+lV07m4RO4rOg2gKhlmpJVanWcB84JQ= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= diff --git a/manifest/manifest.yaml b/manifest/manifest.yaml index 0f991f27..8d937e13 100644 --- a/manifest/manifest.yaml +++ b/manifest/manifest.yaml @@ -1861,7 +1861,7 @@ spec: - --v=5 command: - /manager - image: projectsveltos/addon-controller-amd64:dev + image: projectsveltos/addon-controller-amd64:v0.15.1 livenessProbe: httpGet: path: /healthz diff --git a/pkg/drift-detection/drift-detection-manager.go b/pkg/drift-detection/drift-detection-manager.go index a5b0c62e..e184eb98 100644 --- a/pkg/drift-detection/drift-detection-manager.go +++ b/pkg/drift-detection/drift-detection-manager.go @@ -259,7 +259,7 @@ spec: - --run-mode=do-not-send-updates command: - /manager - image: projectsveltos/drift-detection-manager-amd64:main + image: projectsveltos/drift-detection-manager-amd64:v0.15.1 livenessProbe: httpGet: path: /healthz diff --git a/pkg/drift-detection/drift-detection-manager.yaml b/pkg/drift-detection/drift-detection-manager.yaml index 39c4aa25..f036469b 100644 --- a/pkg/drift-detection/drift-detection-manager.yaml +++ b/pkg/drift-detection/drift-detection-manager.yaml @@ -241,7 +241,7 @@ spec: - --run-mode=do-not-send-updates command: - /manager - image: projectsveltos/drift-detection-manager-amd64:main + image: projectsveltos/drift-detection-manager-amd64:v0.15.1 livenessProbe: httpGet: path: /healthz