first commit

This commit is contained in:
Your Name
2026-01-18 18:00:41 +01:00
parent 973dddce86
commit 5ca040819f
14 changed files with 9693 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-egress-to-apiserver
namespace: wordpress
spec:
podSelector:
matchLabels:
cnpg.io/cluster: wordpress-db # Targets all components of the wordpress-db cluster
policyTypes:
- Egress
egress:
- to:
- ipBlock:
cidr: 10.96.0.1/32 # Kubernetes API Server IP
ports:
- protocol: TCP
port: 443