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

@ -1,5 +1,7 @@
harbor:
externalURL: https://registry.gwg313.xyz
updateStrategy:
type: Recreate
nginx:
replicas: 0
@ -21,8 +23,6 @@ harbor:
memory: 128Mi
core:
updateStrategy:
type: Recreate
resources:
requests:
cpu: 100m
@ -32,8 +32,6 @@ harbor:
memory: 512Mi
jobservice:
updateStrategy:
type: Recreate
resources:
requests:
cpu: 100m

View file

@ -4,3 +4,4 @@ kind: Kustomization
resources:
- https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml
- https://storage.googleapis.com/tekton-releases/dashboard/latest/release.yaml
- https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/stable/release.k8s.yaml

View file

@ -18,8 +18,3 @@ spec:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=false
- ServerSideApply=true
- Replace=true # <-- Policies have immutable fields so this helps deal with updates
- Force=true

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: