14 lines
281 B
YAML
14 lines
281 B
YAML
|
|
apiVersion: networking.k8s.io/v1
|
||
|
|
kind: NetworkPolicy
|
||
|
|
metadata:
|
||
|
|
name: internal
|
||
|
|
spec:
|
||
|
|
ingress:
|
||
|
|
- from:
|
||
|
|
- podSelector:
|
||
|
|
matchLabels:
|
||
|
|
io.kompose.network/internal: "true"
|
||
|
|
podSelector:
|
||
|
|
matchLabels:
|
||
|
|
io.kompose.network/internal: "true"
|