mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-05 22:21:01 +00:00
add cicd exclude to resource limits
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
3cd820c135
commit
d3da92bbb8
5 changed files with 8 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue