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:
commit
865637652e
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue