add cicd exclude to resource limits

Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
gwg313 2026-05-22 22:33:09 -04:00
parent 3cd820c135
commit d3da92bbb8
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
5 changed files with 8 additions and 9 deletions

View file

@ -5,6 +5,8 @@ metadata:
annotations:
policies.kyverno.io/title: Inject Namespace Baseline CNP
policies.kyverno.io/description: Automatically provisions a local default-deny + DNS egress CNP inside new application namespaces.
argocd.argoproj.io/sync-options: Force=true,Replace=true
spec:
background: true
rules:
@ -32,6 +34,7 @@ spec:
- monitoring
- tekton-pipelines-resolvers
- tekton-pipelines
- pipelines-as-code
generate:
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy

View file

@ -36,6 +36,8 @@ spec:
- monitoring
- tekton-pipelines-resolvers
- tekton-pipelines
- pipelines-as-code
- cicd
validate:
message: "Resource discipline violation: Containers must declare cpu/memory requests and limits."
pattern: