generated from kubewarden/go-policy-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmetadata.yml
30 lines (30 loc) · 1.21 KB
/
metadata.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
rules:
- apiGroups:
- ''
apiVersions:
- v1
resources:
- namespace
operations:
- CREATE
mutating: false
contextAwareResources:
- apiVersion: management.cattle.io/v3
kind: Project
executionMode: kubewarden-wapc
annotations:
# artifacthub specific
io.artifacthub.displayName: Rancher Project quotas namespace validator
io.artifacthub.resources: management.cattle.io/Project
io.artifacthub.keywords: rancher, project, quotas
# kubewarden specific
io.kubewarden.policy.ociUrl: ghcr.io/kubewarden/policies/rancher-project-quotas-namespace-validator
io.kubewarden.policy.title: rancher-project-quotas-namespace-validator
io.kubewarden.policy.description: Prevent the creation of Namespace under a Rancher
Project that doesn't have any resource quota left
io.kubewarden.policy.author: Kubewarden developers <cncf-kubewarden-maintainers@lists.cncf.io>
io.kubewarden.policy.url: https://github.com/kubewarden/rancher-project-quotas-namespace-validator
io.kubewarden.policy.source: https://github.com/kubewarden/rancher-project-quotas-namespace-validator
io.kubewarden.policy.license: Apache-2.0
io.kubewarden.policy.category: Rancher
io.kubewarden.policy.severity: medium