k8s-apps/argocd-apps/infra-network-policies.yaml
root b7ee0875b8
All checks were successful
AI Review / AI Code Review (pull_request) Successful in 2s
PR Checks / Validate & Security Scan (pull_request) Successful in 8s
feat: add NetworkPolicy for cert-manager and ingress-nginx
Default-deny + selective allow policies:
- cert-manager: DNS, K8s API, ACME HTTPS, webhook ingress, Prometheus scrape
- ingress-nginx: DNS, K8s API, external HTTP/HTTPS, backend forwarding

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 21:47:50 +01:00

22 lines
498 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: infra-network-policies
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: http://10.10.10.1:3000/claude/k8s-apps.git
targetRevision: main
path: apps/infra-network-policies
destination:
server: https://kubernetes.default.svc
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=false