️ patch flux controllers to set a limit of 2Gi

This commit is contained in:
auricom
2022-12-30 18:48:48 +01:00
parent e4a4323b49
commit 84ad34c10f
2 changed files with 7 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ patches:
group: networking.k8s.io
version: v1
kind: NetworkPolicy
patch: |-
patch: |
$patch: delete
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy

View File

@@ -47,19 +47,20 @@ spec:
kind: Deployment
name: "(kustomize-controller|helm-controller|source-controller)"
- patch: |
apiVersion: v1
apiVersion: apps/v1
kind: Deployment
metadata:
name: helm-controller
name: not-used
spec:
template:
spec:
containers:
- name: manager
resources:
requests:
memory: 512Mi
limits:
memory:
$patch: delete
memory: "2Gi"
target:
kind: Deployment
name: helm-controller
labelSelector: control-plane=controller