mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
Merge pull request #492 from nirmata/local_test
add missing key in sample meta
This commit is contained in:
commit
4c2ed5e921
1 changed files with 7 additions and 6 deletions
|
@ -2,12 +2,13 @@ apiVersion: kyverno.io/v1
|
||||||
kind: ClusterPolicy
|
kind: ClusterPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: disallow-default-namespace
|
name: disallow-default-namespace
|
||||||
policies.kyverno.io/category: Workload Isolation
|
annotations:
|
||||||
policies.kyverno.io/description: Kubernetes namespaces are an optional feature
|
policies.kyverno.io/category: Workload Isolation
|
||||||
that provide a way to segment and isolate cluster resources across multiple
|
policies.kyverno.io/description: Kubernetes namespaces are an optional feature
|
||||||
applications and users. As a best practice, workloads should be isolated with
|
that provide a way to segment and isolate cluster resources across multiple
|
||||||
namespaces. Namespaces should be required and the default (empty) namespace
|
applications and users. As a best practice, workloads should be isolated with
|
||||||
should not be used.
|
namespaces. Namespaces should be required and the default (empty) namespace
|
||||||
|
should not be used.
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- name: validate-namespace
|
- name: validate-namespace
|
||||||
|
|
Loading…
Add table
Reference in a new issue