1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-07 00:17:13 +00:00
kyverno/test/resources/disallow_node_port.yaml

12 lines
176 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: my-service
spec:
ports:
- name: http
nodePort: 31080
port: 80
protocol: TCP
targetPort: 8080
type: NodePort