mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-28 10:18:42 +00:00
## What this PR does This patch adds a new version field to the kubernetes chart, letting end-users specify the version of kubernetes they want to deploy. ### Release note ```release-note [kubernetes] Let users specify desired version of tenant k8s cluster. ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a configurable Kubernetes version parameter, allowing selection of specific minor versions for cluster deployments. * Introduced a version mapping system to ensure clusters use precise Kubernetes patch versions. * **Bug Fixes** * Ensured only supported Kubernetes versions can be selected, reducing configuration errors. * **Documentation** * Updated documentation to describe the new version parameter and its usage. * **Tests** * Enhanced end-to-end tests to cover deployments with both the latest and previous Kubernetes versions. * **Chores** * Consolidated version references for multiple packages to streamline version management. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
How to test packages local
cd packages/core/installer
make image-cozystack REGISTRY=YOUR_CUSTOM_REGISTRY
make apply
kubectl delete pod dashboard-redis-master-0 -n cozy-dashboard
kubectl delete po -l app=source-controller -n cozy-fluxcd