From 5d8a582e1e3732f5f65340a2f880ad3eb84b715a Mon Sep 17 00:00:00 2001 From: Ultradesu Date: Thu, 30 Jul 2026 12:25:17 +0100 Subject: [PATCH] Added firefly-iii --- k8s/apps/firefly-iii/kustomization.yaml | 12 ++++-------- k8s/apps/firefly-iii/values.yaml | 3 +-- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/k8s/apps/firefly-iii/kustomization.yaml b/k8s/apps/firefly-iii/kustomization.yaml index 4cd6732..d36f7cc 100644 --- a/k8s/apps/firefly-iii/kustomization.yaml +++ b/k8s/apps/firefly-iii/kustomization.yaml @@ -21,7 +21,7 @@ helmCharts: patches: # Chart 0.1.2 requires postgres.enabled=true. Remove its StatefulSet and - # redirect the generated database Service to the CloudNativePG primary. + # make the generated database Service select the CloudNativePG instance. - target: group: apps version: v1 @@ -38,14 +38,10 @@ patches: kind: Service name: firefly-iii-postgres patch: |- - - op: remove - path: /spec/selector - op: replace - path: /spec/type - value: ExternalName - - op: add - path: /spec/externalName - value: firefly-postgres-rw.firefly-iii.svc.cluster.local + path: /spec/selector + value: + cnpg.io/cluster: firefly-postgres # The upstream chart does not expose scheduling settings for its CronJob. - target: group: batch diff --git a/k8s/apps/firefly-iii/values.yaml b/k8s/apps/firefly-iii/values.yaml index 4c29d43..05c0faa 100644 --- a/k8s/apps/firefly-iii/values.yaml +++ b/k8s/apps/firefly-iii/values.yaml @@ -25,7 +25,7 @@ persistence: existingClaim: firefly-uploads # Must remain true because chart 0.1.2 validates it. Kustomize removes the -# generated StatefulSet and redirects this Service to CloudNativePG. +# generated StatefulSet and makes this Service select the CloudNativePG Pod. postgres: enabled: true auth: @@ -66,4 +66,3 @@ firefly: limits: cpu: "2" memory: 1Gi -