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"