🟢 deploy/netpol.yaml

🛠️ README.md -> updated local mods
🛠️ deploy/kustomization.yaml -> added netpol
This commit is contained in:
2025-05-02 17:07:46 +02:00
parent 1f3f6a35e4
commit 6f452a2c93
3 changed files with 22 additions and 1 deletions
+1
View File
@@ -6,6 +6,7 @@ resources:
- deploy.yaml
- service.yaml
- ingress.yaml
- netpol.yaml
images:
- name: noaas
newName: <my-harbor-url>/library/no-as-a-service
+19
View File
@@ -0,0 +1,19 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: noaas
spec:
policyTypes:
- Ingress
- Egress
podSelector:
matchLabels:
app: noaas
ingress:
- from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: ingress-nginx
ports:
- protocol: TCP
port: 3000