Commit Graph

23 Commits

Author SHA1 Message Date
Luca Burgazzoli 92f9481086
fix: take into account chart version when determine the apply strategy (#232)
Signed-off-by: Luca Burgazzoli <lburgazzoli@gmail.com>
2024-10-03 10:24:50 +01:00
Luca Burgazzoli aaf689fb16 fix(lint): fix funlen finding
Signed-off-by: Luca Burgazzoli <lburgazzoli@gmail.com>
2024-09-25 11:53:39 +02:00
Luca Burgazzoli 3e366c0714 fix(lint): enable cyclop
Signed-off-by: Luca Burgazzoli <lburgazzoli@gmail.com>
2024-09-25 11:53:39 +02:00
Luca Burgazzoli c545400093
feat: use server side apply for status subresource (#222)
Signed-off-by: Luca Burgazzoli <lburgazzoli@gmail.com>
Co-authored-by: salaboy <Salaboy@gmail.com>
2024-09-25 09:36:03 +01:00
Luca Burgazzoli 0682236568 Rework release leftovers gc algorithm
If the HelmInstance spec changes, all the resources get re-rendered which means some of
them may become obsolete (i.e. if some resources are moved from cluster to namespace
scope) hence a sort of "garbage collector task" must be executed.

As today, the GC logic would take into account only the resource generation, however,
when the operator is updated, the generation won't change hence a new algorithm should
be implemented to take into account also the release version.

Signed-off-by: Luca Burgazzoli <lburgazzoli@gmail.com>
2024-08-20 08:24:06 +02:00
Luca Burgazzoli f0f59e0bd3 bump dapr to v1.14.1
Signed-off-by: Luca Burgazzoli <lburgazzoli@gmail.com>
2024-08-19 16:47:05 +02:00
Luca Burgazzoli 5342049833 leverage lburgazzoli/k8s-manifests-renderer-helm
Signed-off-by: Luca Burgazzoli <lburgazzoli@gmail.com>
2024-08-19 10:54:20 +02:00
Luca Burgazzoli 025596d9d3
refactor: provide a base reconciler to provide common functionnalities
- singleton
- finalizer

Signed-off-by: Luca Burgazzoli <lburgazzoli@gmail.com>
2024-07-24 16:35:31 +02:00
Luca Burgazzoli 74ec9cd791
Remove dapr-sandbox leftovers
Signed-off-by: Luca Burgazzoli <lburgazzoli@gmail.com>
2024-07-23 14:05:58 +02:00
Luca Burgazzoli a9fb58794a
reduce code duplication 2024-05-18 09:06:38 +02:00
Luca Burgazzoli 8da4f1354e
chore(lint): enable wrapcheck 2024-05-17 15:57:50 +02:00
Luca Burgazzoli ce44e487c9
chore(lint): enable wsl 2024-05-16 15:34:01 +02:00
Luca Burgazzoli f1c36e3b09
chore(lint): enable inamedparam 2024-05-16 15:04:58 +02:00
Luca Burgazzoli 87e444c912
chore(lint): enable nestif 2024-05-16 14:53:51 +02:00
Luca Burgazzoli 5a302a47d8
Update to k8s v1.30 2024-05-02 09:42:13 +02:00
Luca Burgazzoli e4e5214b1f
Let helm manage the installation of Dapr's CRDs #67
Signed-off-by: Luca Burgazzoli <lburgazzoli@gmail.com>
2023-12-03 21:49:49 +01:00
Luca Burgazzoli 347e79b493
Allow using different charts and/or deploy different Dapr versions (customizers) #46 2023-11-17 16:48:19 +01:00
Luca Burgazzoli efd660f12f
Allow using different charts and/or deploy different Dapr versions (secrets) #46 2023-11-16 13:50:32 +01:00
Luca Burgazzoli 190204a058
Allow using different charts and/or deploy different Dapr versions #46
Signed-off-by: Luca Burgazzoli <lburgazzoli@gmail.com>
2023-11-16 08:08:56 +01:00
ItalyPaleAle b4d533a305 Remove duplicate dependencies
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-10-12 18:14:51 +00:00
Luca Burgazzoli 7c753c7d10 feat: add better status reporting by checking deployments 2023-08-25 14:26:28 +02:00
Luca Burgazzoli 727ae19e80
feat: restrict the cache's watches with label selector 2023-08-24 09:50:39 +02:00
Luca Burgazzoli db317478f6 feat: refacto to a custom operator leveragin helm directly instead of the operator-sdk's helm-operator 2023-08-21 14:44:14 +02:00