mirror of
https://github.com/docker/compose.git
synced 2025-08-31 14:38:12 +02:00
25 lines
663 B
YAML
Executable File
25 lines
663 B
YAML
Executable File
#! private-network-network-policy.yaml
|
|
# Generated code, do not edit
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: private-network-network-policy
|
|
namespace: bridge
|
|
spec:
|
|
podSelector:
|
|
matchLabels:
|
|
com.docker.compose.network.private-network: "true"
|
|
policyTypes:
|
|
- Ingress
|
|
- Egress
|
|
ingress:
|
|
- from:
|
|
- podSelector:
|
|
matchLabels:
|
|
com.docker.compose.network.private-network: "true"
|
|
egress:
|
|
- to:
|
|
- podSelector:
|
|
matchLabels:
|
|
com.docker.compose.network.private-network: "true"
|