security: change storefront from NodePort to ClusterIP (routed through Traefik)
Build and Deploy / build (push) Successful in 0s

This commit is contained in:
Security Audit
2026-08-05 11:32:06 +00:00
parent 4d3bf5038e
commit 8076f89dfb
+1 -5
View File
@@ -4,13 +4,9 @@ metadata:
name: storefront name: storefront
namespace: manoonoils namespace: manoonoils
spec: spec:
# Use NodePort with externalTrafficPolicy: Local to preserve client source IP type: ClusterIP
# This is required for proper client IP detection in analytics (Rybbit, etc.)
type: NodePort
externalTrafficPolicy: Local
selector: selector:
app: storefront app: storefront
ports: ports:
- port: 3000 - port: 3000
targetPort: 3000 targetPort: 3000
# Let Kubernetes assign a NodePort automatically