Skip to content

Commit

Permalink
feat(flux): enable in-memory-kustomize builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Dec 15, 2023
1 parent 99c3323 commit 747afb9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions kubernetes/talos-flux/flux/flux-manifests/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 747afb9

Please sign in to comment.