mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
17 lines
440 B
YAML
17 lines
440 B
YAML
name: limit-configmap-for-sa
|
|
policies:
|
|
- limit_configmap_for_sa.yaml
|
|
resources:
|
|
- resource.yaml
|
|
variables: variables.yaml
|
|
results:
|
|
- policy: limit-configmap-for-sa
|
|
rule: limit-configmap-for-sa-developer
|
|
resource: any-configmap-name-good
|
|
kind: ConfigMap
|
|
result: fail
|
|
- policy: limit-configmap-for-sa
|
|
rule: limit-configmap-for-sa-developer
|
|
resource: any-configmap-name-bad
|
|
kind: ConfigMap
|
|
result: skip
|