mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00
![feisar-bot[bot]](/assets/img/avatar_default.png)
| datasource | package | from | to | | --------------- | ---------------------------------- | ------ | ------ | | github-releases | controlplaneio-fluxcd/distribution | v2.6.3 | v2.6.4 |
105 lines
3.1 KiB
YAML
105 lines
3.1 KiB
YAML
---
|
|
instance:
|
|
distribution:
|
|
# renovate: datasource=github-releases depName=controlplaneio-fluxcd/distribution
|
|
version: 2.6.4
|
|
cluster:
|
|
networkPolicy: false
|
|
components:
|
|
- source-controller
|
|
- kustomize-controller
|
|
- helm-controller
|
|
- notification-controller
|
|
sync:
|
|
kind: GitRepository
|
|
url: https://github.com/auricom/home-ops
|
|
ref: refs/heads/main
|
|
path: kubernetes/flux
|
|
interval: 1h
|
|
commonMetadata:
|
|
labels:
|
|
app.kubernetes.io/name: flux
|
|
kustomize:
|
|
patches:
|
|
- # Add Sops decryption to 'flux-system' Kustomization
|
|
patch: |
|
|
- op: add
|
|
path: /spec/decryption
|
|
value:
|
|
provider: sops
|
|
secretRef:
|
|
name: sops-age
|
|
target:
|
|
group: kustomize.toolkit.fluxcd.io
|
|
kind: Kustomization
|
|
- # Increase the number of workers
|
|
patch: |
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: --concurrent=10
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: --requeue-dependency=5s
|
|
target:
|
|
kind: Deployment
|
|
name: (kustomize-controller|helm-controller|source-controller)
|
|
- # Increase the memory limits
|
|
patch: |
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: all
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: manager
|
|
resources:
|
|
limits:
|
|
memory: 2Gi
|
|
target:
|
|
kind: Deployment
|
|
name: (kustomize-controller|helm-controller|source-controller)
|
|
- # Enable in-memory kustomize builds
|
|
patch: |
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: --concurrent=20
|
|
- op: replace
|
|
path: /spec/template/spec/volumes/0
|
|
value:
|
|
name: temp
|
|
emptyDir:
|
|
medium: Memory
|
|
target:
|
|
kind: Deployment
|
|
name: kustomize-controller
|
|
- # Enable Helm repositories caching
|
|
patch: |
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: --helm-cache-max-size=10
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: --helm-cache-ttl=60m
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: --helm-cache-purge-interval=5m
|
|
target:
|
|
kind: Deployment
|
|
name: source-controller
|
|
- # Flux near OOM detection for Helm
|
|
patch: |
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: --feature-gates=OOMWatch=true
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: --oom-watch-memory-threshold=95
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: --oom-watch-interval=500ms
|
|
target:
|
|
kind: Deployment
|
|
name: helm-controller
|