cozystack/packages/system
Andrei Kvapil 16db457536
fix(cozystack-basics) Preserve existing HelmRelease values during reconciliations (#2068)
<!-- Thank you for making a contribution! Here are some tips for you:
- Start the PR title with the [label] of Cozystack component:
- For system components: [platform], [system], [linstor], [cilium],
[kube-ovn], [dashboard], [cluster-api], etc.
- For managed apps: [apps], [tenant], [kubernetes], [postgres],
[virtual-machine] etc.
- For development and maintenance: [tests], [ci], [docs], [maintenance].
- If it's a work in progress, consider creating this PR as a draft.
- Don't hesistate to ask for opinion and review in the community chats,
even if it's still a draft.
- Add the label `backport` if it's a bugfix that needs to be backported
to a previous version.
-->

## What this PR does

Bug: Changes to Tenant `tenant-root` will be dropped on next force (or
upgrade) reconciliation of `cosystack-basics` HelmRelease. This may lead
to data loss and outage of service

This PR fixes such behavior preserving values, applied by the user

### Release note

<!--  Write a release note:
- Explain what has changed internally and for users.
- Start with the same [label] as in the PR title
- Follow the guidelines at
https://github.com/kubernetes/community/blob/master/contributors/guide/release-notes.md.
-->

```release-note
[cozystack-basics] Preserve existing `HelmRelease` values of `tenant-root` during reconciliations
```

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Fixed cluster configuration to preserve existing settings during
updates instead of overwriting them. The system now properly merges new
configuration with prior values, ensuring no settings are unexpectedly
lost.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-19 07:48:17 +01:00
..
application-definition-crd refactor(api): rename CozystackResourceDefinition to ApplicationDefinition 2026-01-15 22:35:56 +01:00
backup-controller Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
backupstrategy-controller Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
bootbox refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
bootbox-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
bucket Prepare release v1.0.0-beta.3 2026-02-11 06:13:35 +00:00
bucket-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
capi-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
capi-providers-bootstrap refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
capi-providers-core refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
capi-providers-cpprovider refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
capi-providers-infraprovider refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
cert-manager refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
cert-manager-crds refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
cert-manager-issuers refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
cilium fix(kilo): use official kilo image and clean up cilium-kilo config 2026-02-17 22:17:38 +01:00
cilium-networkpolicy refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
clickhouse-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
clickhouse-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
cluster-autoscaler feat(cluster-autoscaler): enable enforce-node-group-min-size by default 2026-02-14 11:42:52 +01:00
clustersecret-operator Add clustersecret-operator system package 2026-02-10 22:47:20 +05:00
coredns fix coredns serviceaccount to match kubernetes bootstrap rbac 2026-02-02 15:32:50 +01:00
cozy-proxy refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
cozystack-api Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
cozystack-basics [cozystack-basics] Preserve existing HelmRelease values during reconciliations 2026-02-18 21:52:51 +05:00
cozystack-controller Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
dashboard Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
etcd-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
etcd-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
external-dns refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
external-secrets-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
flux-plunger Fix pre-commit check 2026-01-20 03:24:32 +01:00
fluxcd refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
fluxcd-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
foundationdb-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
foundationdb-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
gateway-api-crds refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
goldpinger refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
gpu-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
grafana-operator Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
harbor fix(harbor): set UTF-8 encoding and locale for CNPG database 2026-02-18 11:26:58 +03:00
harbor-rd feat(harbor): switch registry storage to S3 via COSI BucketClaim 2026-02-18 01:23:02 +03:00
hetzner-robotlb refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
http-cache-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
info-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
ingress-nginx refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
ingress-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
kafka-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
kafka-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
kamaji Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
keycloak refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
keycloak-configure [keycloak-configure] Fix kubernetes client creation 2026-02-10 00:48:51 +03:00
keycloak-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
kilo fix(kilo): use official kilo image and clean up cilium-kilo config 2026-02-17 22:17:38 +01:00
kubeovn Update Kube-OVN to v1.15.3 2026-02-10 22:16:11 +01:00
kubeovn-plunger Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
kubeovn-webhook Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
kubernetes-rd [kubernetes] show Service and Ingress resources for kubernetes app in dashboard 2026-01-26 18:13:06 +05:00
kubevirt refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
kubevirt-cdi refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
kubevirt-cdi-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
kubevirt-csi-node Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
kubevirt-instancetypes refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
kubevirt-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
lineage-controller-webhook Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
linstor Prepare release v1.0.0-beta.3 2026-02-11 06:13:35 +00:00
linstor-scheduler fix(linstor-scheduler): strip distribution suffix from Kubernetes version 2026-01-30 23:12:22 +03:00
local-ccm Update local-ccm v0.3.0 2026-02-10 20:19:03 +01:00
mariadb-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
mariadb-rd refactor: rename mysql application to mariadb 2026-02-12 15:15:20 +01:00
metallb Prepare release v1.0.0-alpha.1 2026-01-15 23:32:41 +00:00
metrics-server refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
mongodb-operator Fix pre-commit check 2026-01-20 03:24:32 +01:00
mongodb-rd [mongodb] Fix pre-commint check 2026-02-11 07:06:31 +01:00
monitoring Add monitoring for NATs 2026-02-17 22:54:12 +01:00
monitoring-agents [monitoring] Fix YAML parse error in monitoring-agents vmagent template 2026-02-12 00:22:18 +01:00
monitoring-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
multus refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
nats Add monitoring for NATs 2026-02-17 22:54:12 +01:00
nats-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
nfs-driver refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
objectstorage-controller Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
opencost Fix pre-commit check 2026-01-20 03:24:32 +01:00
piraeus-operator Move CRDs installation logic to piraeus-operator-crds chart 2026-02-11 22:54:56 +01:00
piraeus-operator-crds Move CRDs installation logic to piraeus-operator-crds chart 2026-02-11 22:54:56 +01:00
postgres-operator fix(postgres-operator): correct PromQL syntax in CNPGClusterOffline alert 2026-02-04 11:03:04 +01:00
postgres-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
prometheus-operator-crds refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
qdrant [qdrant] Add Qdrant vector database application 2026-02-06 13:30:58 +03:00
qdrant-rd [qdrant] Add Qdrant vector database application 2026-02-06 13:30:58 +03:00
rabbitmq-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
rabbitmq-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
redis-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
redis-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
reloader refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
seaweedfs Prepare release v1.0.0-beta.6 2026-02-17 22:36:40 +00:00
seaweedfs-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
snapshot-controller refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
tcp-balancer-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
telepresence refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
tenant-rd [tenant] remove isolated flag and enforce isolation 2026-01-21 17:07:08 +05:00
velero [backups] Add kubevirt plugin to velero 2026-02-10 17:49:44 +03:00
vertical-pod-autoscaler Post upgrade fixes for v1.0 packagesources 2026-01-28 20:08:35 +03:00
vertical-pod-autoscaler-crds refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
victoria-metrics-operator refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
virtualprivatecloud-rd feat(vpc): migrate subnets definition from map to array format 2026-02-15 21:34:19 +01:00
vm-disk-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
vm-instance-rd feat(vm-instance): port cpuModel, instancetype switching, and runStrategy changes 2026-02-14 03:02:41 +01:00
vpn-rd refactor(labels): remove cozystack.io/ui label 2026-01-19 13:59:29 +01:00
vsnap-crd refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
Makefile refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00