1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/resources/disallow_host_network_hostport.yaml

12 lines
202 B
YAML
Raw Normal View History

apiVersion: v1
kind: Pod
metadata:
name: nginx-host-network
spec:
hostNetwork: false
containers:
- name: nginx-host-network
image: nginx
ports:
- containerPort: 80
hostPort: 80