mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
* feat: bump controller gen package Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix chainsaw test Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * bump annotation Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
13 lines
399 B
YAML
Executable file
13 lines
399 B
YAML
Executable file
apiVersion: chainsaw.kyverno.io/v1alpha1
|
|
kind: Test
|
|
metadata:
|
|
name: gctx-validate-reference
|
|
spec:
|
|
steps:
|
|
- try:
|
|
- create:
|
|
file: clusterpolicy.yaml
|
|
expect:
|
|
- check:
|
|
($error): |-
|
|
ClusterPolicy.kyverno.io "cpol-gctx-validate-reference" is invalid: spec.rules[0].context[0].globalReference.name: Required value
|