Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (18 sloc) 315 Bytes
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-src-ip
namespace: default
spec:
podSelector:
matchLabels:
app: src-ip-internal
policyTypes:
- Ingress
ingress:
- ports:
- port: 8080
from:
- podSelector:
matchLabels:
app: busybox