1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 07:57:07 +00:00

Merge pull request #494 from nirmata/493_rename_policy

update policy name
This commit is contained in:
shuting 2019-11-14 09:50:32 -08:00 committed by GitHub
commit 865637652e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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