Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (15 sloc) 246 Bytes
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-go-webapp
namespace: default
spec:
podSelector:
matchLabels:
app: go-webapp
policyTypes:
- Ingress
ingress:
- ports:
- port: 8080
from: []