1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +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 apiVersion: kyverno.io/v1
kind: ClusterPolicy kind: ClusterPolicy
metadata: metadata:
name: host-network-port name: disallow-host-network-port
annotations: annotations:
policies.kyverno.io/category: Workload Isolation policies.kyverno.io/category: Workload Isolation
policies.kyverno.io/description: Using 'hostPort' and 'hostNetwork' allows pods to share policies.kyverno.io/description: Using 'hostPort' and 'hostNetwork' allows pods to share

View file

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