Skip to content

Commit

Permalink
Prepare release v0.7.0 (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps authored May 29, 2024
1 parent d7147c7 commit d7cfa53
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 18 deletions.
4 changes: 2 additions & 2 deletions manifests/cozystack-installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
serviceAccountName: cozystack
containers:
- name: cozystack
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.6.0"
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.7.0"
env:
- name: KUBERNETES_SERVICE_HOST
value: localhost
Expand All @@ -87,7 +87,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: darkhttpd
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.6.0"
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.7.0"
command:
- /usr/bin/darkhttpd
- /cozystack/assets
Expand Down
4 changes: 2 additions & 2 deletions packages/apps/http-cache/images/nginx-cache.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"containerimage.config.digest": "sha256:aa7a9874c35d7fac8668a623744acbf376b48aed2ef1dc4b3a19054fdcff99cf",
"containerimage.digest": "sha256:d825427d433dda95db40264c6559b44c7bbb726e69279e90fe73fe8fc9265abb"
"containerimage.config.digest": "sha256:31dedc466b9f92131f3e0f35b47d1f3771b6895d5b9a6cc089786b76b00c3a25",
"containerimage.digest": "sha256:86c7a8f2a11cbede492c778ffd67c759f722ab6958cab4a9df66af4035b1d7d9"
}
4 changes: 2 additions & 2 deletions packages/core/installer/images/cozystack.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"containerimage.config.digest": "sha256:8726af130b534d259ae28a92d84fb866df045765739a59146974d85554e5f188",
"containerimage.digest": "sha256:bc9109b0ed072ecbb143ea74edb9bf8a801b4903e0b849aeaa79488c4a9fb7f2"
"containerimage.config.digest": "sha256:6d54a5b971e80fbaace664054d4e67f24fd1fbb7807ebaffd036d4ea7195df10",
"containerimage.digest": "sha256:a6b167235d8556ff7e45f4582c2491a2ad48292a46005dcf767908e2fb78e74e"
}
2 changes: 1 addition & 1 deletion packages/core/installer/images/cozystack.tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ghcr.io/aenix-io/cozystack/cozystack:v0.6.0
ghcr.io/aenix-io/cozystack/cozystack:v0.7.0
4 changes: 2 additions & 2 deletions packages/core/installer/images/matchbox.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"containerimage.config.digest": "sha256:05f6f9ed2e662dde64ace18dbbd69001b39778841bda812d7b6b86e064270e64",
"containerimage.digest": "sha256:56ef77367394c4b073c862974726d882036c9b95d27a56a774987fe3244c35f6"
"containerimage.config.digest": "sha256:ed483d1187cdfeb92df319a30dde57141ceb1d4bafcc28ba006a1e60abc445ff",
"containerimage.digest": "sha256:000a46c2bffc3cf13909dc0ca570cdcea9692d85b1ef2a875afe08ea8136d2c2"
}
2 changes: 1 addition & 1 deletion packages/system/cilium/images/cilium.tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ghcr.io/aenix-io/cozystack/cilium:latest
ghcr.io/aenix-io/cozystack/cilium:v0.7.0
2 changes: 1 addition & 1 deletion packages/system/dashboard/images/dashboard.tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ghcr.io/aenix-io/cozystack/dashboard:v0.6.0
ghcr.io/aenix-io/cozystack/dashboard:v0.7.0
4 changes: 2 additions & 2 deletions packages/system/dashboard/images/kubeapps-apis.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"containerimage.config.digest": "sha256:79ac02f0fe54d2007b222efe05596a1bf35b8557e406d018f825a2334bd73249",
"containerimage.digest": "sha256:1c1dbee8e5c4be14e5df36a69be75a6a2907445564379e23b7f8fbea1afc7093"
"containerimage.config.digest": "sha256:44db4f7c92adb68c79eb3e152c95318e559e5c1ac0ba6e3d467596b1315f37a1",
"containerimage.digest": "sha256:b0c355cf5387b376e676a9e395fa0a11790409123a29e637a7080a413fe7f10d"
}
2 changes: 1 addition & 1 deletion packages/system/dashboard/images/kubeapps-apis.tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ghcr.io/aenix-io/cozystack/kubeapps-apis:v0.6.0
ghcr.io/aenix-io/cozystack/kubeapps-apis:v0.7.0
4 changes: 2 additions & 2 deletions packages/system/kubeovn/images/kubeovn.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"containerimage.config.digest": "sha256:f83db05cfc7228a02d1308721de535e90e355d1b147b2d36bb98e10a848c3ef6",
"containerimage.digest": "sha256:440075488baba3610d7f8be6283f89ab3862ff3a9556c51a0e99ec6d46315192"
"containerimage.config.digest": "sha256:b3d76d1764c8c470a32b4d3b19e48592eda547710e8e6508666930e1db1b4cb3",
"containerimage.digest": "sha256:e5275d3a367aba3b4a7ec0bf25583cc21241e320da2ffd86f5c9cf4a7f6fac77"
}
2 changes: 1 addition & 1 deletion packages/system/kubeovn/images/kubeovn.tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ghcr.io/aenix-io/cozystack/kubeovn:latest
ghcr.io/aenix-io/cozystack/kubeovn:v0.7.0
2 changes: 1 addition & 1 deletion scripts/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -o pipefail
set -e

BUNDLE=$(set -x; kubectl get configmap -n cozy-system cozystack -o 'go-template={{index .data "bundle-name"}}')
VERSION=3
VERSION=4

run_migrations() {
if ! kubectl get configmap -n cozy-system cozystack-version; then
Expand Down
12 changes: 12 additions & 0 deletions scripts/migrations/3
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
# Migration 3 --> 4

# Fix kubeovn crds
kubeovn_crds=$(kubectl get crd -o name | grep '\.kubeovn\.io$')
if [ -n "$kubeovn_crds" ]; then
kubectl annotate $kubeovn_crds meta.helm.sh/release-namespace=cozy-kubeovn meta.helm.sh/release-name=kubeovn
kubectl label $kubeovn_crds app.kubernetes.io/managed-by=Helm
fi

# Write version to cozystack-version config
kubectl create configmap -n cozy-system cozystack-version --from-literal=version=4 --dry-run=client -o yaml | kubectl apply -f-

0 comments on commit d7cfa53

Please sign in to comment.