1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-29 10:55:05 +00:00

update policy name

This commit is contained in:
Jim Bugwadia 2019-11-13 23:31:04 -08:00
parent 4c2ed5e921
commit eb24b7502b
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: host-network-port
name: disallow-host-network-port
annotations:
policies.kyverno.io/category: Workload Isolation
policies.kyverno.io/description: Using 'hostPort' and 'hostNetwork' allows pods to share

View file

@ -5,7 +5,7 @@ input:
expected:
validation:
policyresponse:
policy: host-network-port
policy: disallow-host-network-port
resource:
kind: Pod
apiVersion: v1