Skip to content

Commit bfbde07

Browse files
authored
Prepare release v0.18.0 (#462)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Expanded build process to include the `cozystack-api` component. - Updated image versions for `cozystack`, `darkhttpd`, and other components to improve performance and stability. - **Bug Fixes** - Updated image digests for various components, ensuring the latest updates and security patches are applied. - **Documentation** - Incremented version numbers across multiple configuration files for clarity and consistency. - **Chores** - Updated various package versions in the version map for better dependency management. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Andrei Kvapil <[email protected]>
1 parent b9e80b9 commit bfbde07

File tree

20 files changed

+26
-22
lines changed

20 files changed

+26
-22
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ build:
66
make -C packages/apps/mysql image
77
make -C packages/apps/clickhouse image
88
make -C packages/apps/kubernetes image
9+
make -C packages/system/cozystack-api image
910
make -C packages/system/cilium image
1011
make -C packages/system/kubeovn image
1112
make -C packages/system/dashboard image
@@ -35,4 +36,4 @@ assets:
3536
test:
3637
make -C packages/core/testing apply
3738
make -C packages/core/testing test
38-
make -C packages/core/testing delete
39+
make -C packages/core/testing test-applications

hack/e2e.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ machine:
114114
- name: zfs
115115
- name: spl
116116
install:
117-
image: ghcr.io/aenix-io/cozystack/talos:v1.8.1
117+
image: ghcr.io/aenix-io/cozystack/talos:v1.8.2
118118
files:
119119
- content: |
120120
[plugins]

manifests/cozystack-installer.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ spec:
6868
serviceAccountName: cozystack
6969
containers:
7070
- name: cozystack
71-
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.17.1"
71+
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.18.0"
7272
env:
7373
- name: KUBERNETES_SERVICE_HOST
7474
value: localhost
@@ -87,7 +87,7 @@ spec:
8787
fieldRef:
8888
fieldPath: metadata.name
8989
- name: darkhttpd
90-
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.17.1"
90+
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.18.0"
9191
command:
9292
- /usr/bin/darkhttpd
9393
- /cozystack/assets
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ghcr.io/aenix-io/cozystack/nginx-cache:0.3.1@sha256:b2b586194d17ca4dc71544971c775ad6878048087290030b8f096d481f57d1f7
1+
ghcr.io/aenix-io/cozystack/nginx-cache:0.3.1@sha256:27112d470a31725b75b29b29919af06b4ce1339e3b502b08889a92ab7099adde

packages/apps/kubernetes/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type: application
1616
# This is the chart version. This version number should be incremented each time you make changes
1717
# to the chart and its templates, including the app version.
1818
# Versions are expected to follow Semantic Versioning (https://semver.org/)
19-
version: 0.13.0
19+
version: 0.14.0
2020

2121
# This is the version number of the application being deployed. This version number should be
2222
# incremented each time you make changes to the application. Versions are not expected to
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ghcr.io/aenix-io/cozystack/cluster-autoscaler:0.13.0@sha256:7f617de5a24de790a15d9e97c6287ff2b390922e6e74c7a665cbf498f634514d
1+
ghcr.io/aenix-io/cozystack/cluster-autoscaler:0.14.0@sha256:feeb3509702c0d2fdd025196fb05dbf86243ee869bb837ed0174ee2a43c1bbd9
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ghcr.io/aenix-io/cozystack/kubevirt-cloud-provider:0.13.0@sha256:b9dc8e5f0296146b37b332b07b8cd74d1b0308786160b161c670c55005d3dbe9
1+
ghcr.io/aenix-io/cozystack/kubevirt-cloud-provider:0.14.0@sha256:df4a937b6fb2b345110174227170691d48189ffe1900c3f848cd5085990a58df
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ghcr.io/aenix-io/cozystack/kubevirt-csi-driver:0.13.0@sha256:1c96280e10becb858cb5f781a278f383319514f803c8e5fe401e0ef291f65821
1+
ghcr.io/aenix-io/cozystack/kubevirt-csi-driver:0.14.0@sha256:83d71fcd5d699089b11f2999d601d56e31e173bf312be271b7d9b81e69f76a2f
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ghcr.io/aenix-io/cozystack/ubuntu-container-disk:v1.30.1@sha256:422e2078ebb24b4c327edefaad6dc9b3c8f6cf0cab3d8286c4f2b27ecf8b8466
1+
ghcr.io/aenix-io/cozystack/ubuntu-container-disk:v1.30.1@sha256:3758704d9f45ca364af0b656b502975b030d2ccd6899e97e0e58f350756dca57

packages/apps/versions_map

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ kubernetes 0.11.0 4eaca42
3838
kubernetes 0.11.1 4f430a90
3939
kubernetes 0.12.0 74649f8
4040
kubernetes 0.12.1 28fca4e
41-
kubernetes 0.13.0 HEAD
41+
kubernetes 0.13.0 ced8e5b9
42+
kubernetes 0.14.0 HEAD
4243
mysql 0.1.0 f642698
4344
mysql 0.2.0 8b975ff0
4445
mysql 0.3.0 5ca8823

packages/core/installer/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
cozystack:
2-
image: ghcr.io/aenix-io/cozystack/cozystack:v0.17.1@sha256:7c83bf1a31096cecc78da2a10b0bb4e2c1723bdcbfd79cd523516d737fa1f952
2+
image: ghcr.io/aenix-io/cozystack/cozystack:v0.18.0@sha256:8c0e75ca3c9cbc8289cff7955f83e6d52d077cbb0e1328e64a82026c7bea19b5

packages/core/testing/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
e2e:
2-
image: ghcr.io/aenix-io/cozystack/e2e-sandbox:latest@sha256:1a26a511b9e269bcb607e2d80f878d7c2d993b7a2a7a3a2a1042470c8c56b061
2+
image: ghcr.io/aenix-io/cozystack/e2e-sandbox:v0.18.0@sha256:1a26a511b9e269bcb607e2d80f878d7c2d993b7a2a7a3a2a1042470c8c56b061
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ghcr.io/aenix-io/cozystack/s3manager:v0.5.0@sha256:009931be22298328f06c5c335ce1dde5697fd0f46d085d21d425fff5f51d9662
1+
ghcr.io/aenix-io/cozystack/s3manager:v0.5.0@sha256:6a33bc3bb8e64ce7acb805d911cceb893e7cdcc9dcb47249d26287c2ea78757d
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
cozystackAPI:
2-
image: ghcr.io/aenix-io/cozystack/cozystack-api:latest@sha256:3a438a1c0888c03ef6501bb446d13057da35bb3ac7e6d901d8e0853a0cad69cb
2+
image: ghcr.io/aenix-io/cozystack/cozystack-api:v0.18.0@sha256:d3f817ee20cc502b7c5deffa46a1ad94a6e1a74fa035dbeb65ef742e67fd1fe5

packages/system/dashboard/values.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ kubeapps:
3333
image:
3434
registry: ghcr.io/aenix-io/cozystack
3535
repository: dashboard
36-
tag: v0.17.1
36+
tag: v0.18.0
3737
digest: "sha256:4818712e9fc9c57cc321512760c3226af564a04e69d4b3ec9229ab91fd39abeb"
3838
kubeappsapis:
3939
image:
4040
registry: ghcr.io/aenix-io/cozystack
4141
repository: kubeapps-apis
42-
tag: v0.17.1
43-
digest: "sha256:c7d809d5ef2d57dba3d5e977e310866b2c897e9362d717de8c394f22c6dbf0fc"
42+
tag: v0.18.0
43+
digest: "sha256:af2af34e6717847d9b963c0cf3cfc555e16cb7dfba590b88192c09cea31a31a7"

packages/system/kamaji/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kamaji:
33
deploy: false
44
image:
55
pullPolicy: IfNotPresent
6-
tag: v0.17.1@sha256:de1e93ca857b318ea1d8e12adf3a3ce9961b238c839b0b0140351a4894b0beda
6+
tag: v0.18.0@sha256:89f22229807c477d3ac211decc92340500af078ee3c52cfda9671188e7eb662f
77
repository: ghcr.io/aenix-io/cozystack/kamaji
88
resources:
99
limits:

packages/system/kubeovn/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ global:
2222
images:
2323
kubeovn:
2424
repository: kubeovn
25-
tag: v1.13.0@sha256:252877129162cc3aeab1191db581eb10b70ecedbdf9344a257c8b9a1e9b96e22
25+
tag: v1.13.0@sha256:57242a2e37808785b8ffd8fe94096d7895151482addd16a65586df446dcb7a9d

pkg/registry/apps/application/rest.go

+1
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,7 @@ func (r *REST) convertHelmReleaseToApplication(hr *helmv2.HelmRelease) (appsv1al
923923
APIVersion: "apps.cozystack.io/v1alpha1",
924924
Kind: r.kindName,
925925
},
926+
AppVersion: hr.Spec.Chart.Spec.Version,
926927
ObjectMeta: metav1.ObjectMeta{
927928
Name: strings.TrimPrefix(hr.Name, r.releaseConfig.Prefix),
928929
Namespace: hr.Namespace,

scripts/installer.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -o pipefail
33
set -e
44

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

88
run_migrations() {
99
if ! kubectl get configmap -n cozy-system cozystack-version; then

scripts/migrations/6

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
# Migration 6 --> 7
33

44
# Delete cert-manager crds labels and annotations
5+
kubectl patch hr -n cozy-cert-manager cert-manager -p '{"spec": {"suspend": true}}' --type=merge --field-manager=flux-client-side-apply
56
certmanager_crds=$(kubectl get crd -o name | grep '\.cert-manager\.io$')
67
if [ -n "$certmanager_crds" ]; then
78
kubectl annotate $certmanager_crds meta.helm.sh/release-namespace=cozy-cert-manager meta.helm.sh/release-name=cert-manager-crds
89
kubectl label $certmanager_crds app.kubernetes.io/managed-by=Helm
910
fi
1011

1112
# Remove monitoring, because it is renamed to monitoring-agents
12-
kubectl get hr -n cozy-monitoring monitoring && kubectl delete hr -n cozy-monitoring monitoring
13+
kubectl get hr -n cozy-monitoring monitoring && kubectl delete hr -n cozy-monitoring monitoring --wait=0
1314

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

0 commit comments

Comments
 (0)