mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
<!-- 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 <kvapss@gmail.com>
17 lines
870 B
Bash
Executable File
17 lines
870 B
Bash
Executable File
#!/bin/sh
|
|
# Migration 6 --> 7
|
|
|
|
# Delete cert-manager crds labels and annotations
|
|
kubectl patch hr -n cozy-cert-manager cert-manager -p '{"spec": {"suspend": true}}' --type=merge --field-manager=flux-client-side-apply
|
|
certmanager_crds=$(kubectl get crd -o name | grep '\.cert-manager\.io$')
|
|
if [ -n "$certmanager_crds" ]; then
|
|
kubectl annotate $certmanager_crds meta.helm.sh/release-namespace=cozy-cert-manager meta.helm.sh/release-name=cert-manager-crds
|
|
kubectl label $certmanager_crds app.kubernetes.io/managed-by=Helm
|
|
fi
|
|
|
|
# Remove monitoring, because it is renamed to monitoring-agents
|
|
kubectl get hr -n cozy-monitoring monitoring && kubectl delete hr -n cozy-monitoring monitoring --wait=0
|
|
|
|
# Write version to cozystack-version config
|
|
kubectl create configmap -n cozy-system cozystack-version --from-literal=version=7 --dry-run=client -o yaml | kubectl apply -f-
|