diff --git a/kubernetes/talos-flux/flux/flux-manifests/kustomization.yaml b/kubernetes/talos-flux/flux/flux-manifests/kustomization.yaml index 24640e135..14928b568 100644 --- a/kubernetes/talos-flux/flux/flux-manifests/kustomization.yaml +++ b/kubernetes/talos-flux/flux/flux-manifests/kustomization.yaml @@ -93,18 +93,18 @@ patches: target: kind: Deployment name: (kustomize-controller|helm-controller|source-controller) - # Enable drift detection for HelmReleases and set the log level to debug - # https://fluxcd.io/flux/components/helm/helmreleases/#drift-detection + # Enable in-memory-kustomize builds + # https://fluxcd.io/flux/installation/configuration/vertical-scaling/#enable-in-memory-kustomize-builds - patch: | - - op: add - path: /spec/template/spec/containers/0/args/- - value: --feature-gates=DetectDrift=true,CorrectDrift=false - - op: add - path: /spec/template/spec/containers/0/args/- - value: --log-level=debug + - op: replace + path: /spec/template/spec/volumes/0 + value: + name: temp + emptyDir: + medium: Memory target: kind: Deployment - name: helm-controller + name: kustomize-controller # Enable Helm near OOM detection # https://fluxcd.io/flux/cheatsheets/bootstrap/#enable-helm-near-oom-detection - patch: |