Skip to content

Commit

Permalink
Merge pull request #111 from gianlucam76/prep
Browse files Browse the repository at this point in the history
Prepare for release v0.3.0
  • Loading branch information
gianlucam76 committed Jan 9, 2023
2 parents a63dab7 + 71577f6 commit c44851d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 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.3.0

# 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.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'
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.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)
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.3.0/manifest/manifest.yaml -o ./pkg/drift-detection/drift-detection-manager.yaml
cd pkg/drift-detection; go generate

.PHONY: build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Sveltos

<img src="https://raw.githubusercontent.com/projectsveltos/sveltos/dev/docs/assets/logo.png" width="200">
<img src="https://raw.githubusercontent.com/projectsveltos/sveltos/main/docs/assets/logo.png" width="200">

Please refere to sveltos [documentation](https://projectsveltos.github.io/sveltos/).

Expand Down
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.3.0
name: manager
2 changes: 1 addition & 1 deletion manifest/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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:dev
image: gianlucam76/drift-detection-manager-amd64:v0.3.0
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:dev
image: gianlucam76/drift-detection-manager-amd64:v0.3.0
livenessProbe:
httpGet:
path: /healthz
Expand Down

0 comments on commit c44851d

Please sign in to comment.