Skip to content

Commit

Permalink
Merge pull request #133 from gianlucam76/prep
Browse files Browse the repository at this point in the history
Prepare release v0.4.1
  • Loading branch information
gianlucam76 committed Feb 8, 2023
2 parents 21c2062 + 29d0d31 commit 7b3c6b1
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.4.1

# Get cluster-api version and build ldflags
clusterapi := $(shell go list -m sigs.k8s.io/cluster-api)
Expand Down Expand Up @@ -244,16 +244,16 @@ 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.4.1/config/crd/bases/lib.projectsveltos.io_debuggingconfigurations.yaml
$(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/v0.4.1/config/crd/bases/lib.projectsveltos.io_sveltosclusters.yaml

# Install projectsveltos controller-manager components
@echo 'Install projectsveltos controller-manager components'
cd config/manager && ../../$(KUSTOMIZE) edit set image controller=${IMG}
$(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.4.1/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)
Expand All @@ -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.4.1/manifest/manifest.yaml -o ./pkg/drift-detection/drift-detection-manager.yaml
cd pkg/drift-detection; go generate

.PHONY: build
Expand Down
5 changes: 3 additions & 2 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/default/manager_image_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.4.1
name: manager
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/onsi/ginkgo/v2 v2.6.0
github.com/onsi/gomega v1.24.1
github.com/pkg/errors v0.9.1
github.com/projectsveltos/libsveltos v0.4.1-0.20230207202124-d0a8595fab5e
github.com/projectsveltos/libsveltos v0.4.1
github.com/prometheus/client_golang v1.13.0
github.com/spf13/pflag v1.0.5
golang.org/x/text v0.5.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -790,8 +790,8 @@ github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndr
github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s=
github.com/poy/onpar v0.0.0-20190519213022-ee068f8ea4d1 h1:oL4IBbcqwhhNWh31bjOX8C/OCy0zs9906d/VUru+bqg=
github.com/poy/onpar v0.0.0-20190519213022-ee068f8ea4d1/go.mod h1:nSbFQvMj97ZyhFRSJYtut+msi4sOY6zJDGCdSc+/rZU=
github.com/projectsveltos/libsveltos v0.4.1-0.20230207202124-d0a8595fab5e h1:LrgQHZkRta852MySb/u1lchve/AQcrF76n/Iq9SPuKg=
github.com/projectsveltos/libsveltos v0.4.1-0.20230207202124-d0a8595fab5e/go.mod h1:smYCt3DQSZpQqsaoM2mJAIP6RAMXcxw5Af0mzkncCs4=
github.com/projectsveltos/libsveltos v0.4.1 h1:icU0MkB12xlbbPGWyFL9X6h0n1Wcce+eclXR1Q7WjfU=
github.com/projectsveltos/libsveltos v0.4.1/go.mod h1:smYCt3DQSZpQqsaoM2mJAIP6RAMXcxw5Af0mzkncCs4=
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g=
Expand Down
2 changes: 1 addition & 1 deletion manifest/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ spec:
- --v=5
command:
- /manager
image: gianlucam76/sveltos-manager-amd64:dev
image: gianlucam76/sveltos-manager-amd64:v0.4.1
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion pkg/drift-detection/drift-detection-manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ spec:
- --run-mode=do-not-send-updates
command:
- /manager
image: gianlucam76/drift-detection-manager-amd64:main
image: gianlucam76/drift-detection-manager-amd64:v0.4.1
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion pkg/drift-detection/drift-detection-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ spec:
- --run-mode=do-not-send-updates
command:
- /manager
image: gianlucam76/drift-detection-manager-amd64:main
image: gianlucam76/drift-detection-manager-amd64:v0.4.1
livenessProbe:
httpGet:
path: /healthz
Expand Down

0 comments on commit 7b3c6b1

Please sign in to comment.