From d655e390e43735eb4c6257a6884aefd289116fb5 Mon Sep 17 00:00:00 2001 From: Stephan Feurer Date: Sat, 13 Jul 2024 15:19:25 +0200 Subject: [PATCH] Change Kyverno resource defaults to more realistic values --- class/defaults.yml | 4 ++-- .../kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml | 4 ++-- .../kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml | 4 ++-- .../kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/class/defaults.yml b/class/defaults.yml index e002be0..2772377 100644 --- a/class/defaults.yml +++ b/class/defaults.yml @@ -83,10 +83,10 @@ parameters: resources: kyverno: limits: - memory: 512Mi + memory: 1Gi requests: cpu: 100m - memory: 50Mi + memory: 512Mi pre: limits: cpu: 100m diff --git a/tests/golden/defaults/kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml b/tests/golden/defaults/kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml index 35659c7..d5acf27 100644 --- a/tests/golden/defaults/kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml +++ b/tests/golden/defaults/kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml @@ -95,10 +95,10 @@ spec: timeoutSeconds: 5 resources: limits: - memory: 512Mi + memory: 1Gi requests: cpu: 100m - memory: 50Mi + memory: 512Mi securityContext: allowPrivilegeEscalation: false capabilities: diff --git a/tests/golden/openshift-4.10/kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml b/tests/golden/openshift-4.10/kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml index 6899d4c..b9b76f0 100644 --- a/tests/golden/openshift-4.10/kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml +++ b/tests/golden/openshift-4.10/kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml @@ -95,10 +95,10 @@ spec: timeoutSeconds: 5 resources: limits: - memory: 512Mi + memory: 1Gi requests: cpu: 100m - memory: 50Mi + memory: 512Mi startupProbe: failureThreshold: 20 httpGet: diff --git a/tests/golden/policies/kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml b/tests/golden/policies/kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml index 35659c7..d5acf27 100644 --- a/tests/golden/policies/kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml +++ b/tests/golden/policies/kyverno/kyverno/kyverno/apps_v1_deployment_kyverno.yaml @@ -95,10 +95,10 @@ spec: timeoutSeconds: 5 resources: limits: - memory: 512Mi + memory: 1Gi requests: cpu: 100m - memory: 50Mi + memory: 512Mi securityContext: allowPrivilegeEscalation: false capabilities: