cozystack/internal/controller
Timofei Larkin 8d91fcddd4
[controller] Remove crdmem, handle DaemonSet (#1555)
This patch drops the custom caching of the Cozystack resource
definitions in favor of the informer cache and adds a flag to the
Cozystack controller to select, whether it restarts the cozystack-api
deployment or the cozystack-api daemonset.

As with the new default behavior of using a local endpoint for the k8s
API by the lineage webhook and the Cozystack API, the Cozystack
controller now also defaults to restarting a Cozystack API DaemonSet
instead of a Deployment. To revert to the old behavior, disable the
local k8s API endpoint on the webhook and cozystack API and set the
`cozystackController.cozystackAPIKind` value in the Cozystack controller
system Helm chart to "Deployment".

```release-note
[controller] Use informer cache instead of the older bespoke
implementation and add support for running the Cozystack API as a
DaemonSet.
```
2025-11-07 16:20:04 +01:00
..
dashboard [dashboard-controller] Move bages generation logic to internal dashboard 2025-11-04 16:36:43 +00:00
kubeovnplunger [kubeovn] Implement the KubeOVN plunger 2025-09-11 02:11:58 +03:00
cozystackresource_controller.go [controller] Remove crdmem, handle DaemonSet (#1555) 2025-11-07 16:20:04 +01:00
suite_test.go Move project from aenix-io to cozystack repository 2025-03-10 21:16:58 +01:00
system_helm_reconciler.go controller add sleep before annotate hr 2025-08-15 16:19:40 +03:00
tenant_helm_reconciler.go controller add sleep before annotate hr 2025-08-15 16:19:40 +03:00
workload_controller.go [cozystack-controller] Refactor errors 2025-07-21 18:46:48 +02:00
workload_controller_test.go [cozystack-controller] Fix deleting workloads 2025-07-21 17:56:18 +02:00
workloadmonitor_controller.go [cozystack-controller] Refactor errors 2025-07-21 18:46:48 +02:00