From f8e930290f20c8ef0907a8c2f1cee78984d41873 Mon Sep 17 00:00:00 2001 From: devcm Date: Sat, 18 Apr 2026 10:19:48 +0000 Subject: [PATCH] feat: add infra-monitor-post patch for loki-promtail HelmRelease --- flux/clusters/dev-cm/kustomization.yaml | 4 ++++ .../dev-cm/patches/infra-monitor-post.yaml | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 flux/clusters/dev-cm/patches/infra-monitor-post.yaml diff --git a/flux/clusters/dev-cm/kustomization.yaml b/flux/clusters/dev-cm/kustomization.yaml index d00907c..54f03fa 100644 --- a/flux/clusters/dev-cm/kustomization.yaml +++ b/flux/clusters/dev-cm/kustomization.yaml @@ -23,6 +23,10 @@ patches: kind: Kustomization name: infra-monitor path: patches/infra-monitor.yaml + - target: + kind: Kustomization + name: infra-monitor-post + path: patches/infra-monitor-post.yaml - target: kind: Kustomization name: infra-gitops diff --git a/flux/clusters/dev-cm/patches/infra-monitor-post.yaml b/flux/clusters/dev-cm/patches/infra-monitor-post.yaml new file mode 100644 index 0000000..2aac2cd --- /dev/null +++ b/flux/clusters/dev-cm/patches/infra-monitor-post.yaml @@ -0,0 +1,18 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: infra-monitor-post +spec: + patches: + - target: + kind: HelmRelease + name: loki-promtail + patch: | + apiVersion: helm.toolkit.fluxcd.io/v2 + kind: HelmRelease + metadata: + name: loki-promtail + spec: + values: + nodeSelector: + svccontroller.k3s.cattle.io/enablelb: "true"