mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
Replace CRD AnyValue fields with empty dict (#1047)
This commit is contained in:
parent
0794084b4d
commit
d2ac5b829b
5 changed files with 30 additions and 60 deletions
charts/kyverno/crds
definitions
|
@ -99,8 +99,7 @@ spec:
|
|||
- namespace
|
||||
- name
|
||||
type: object
|
||||
data:
|
||||
AnyValue: {}
|
||||
data: {}
|
||||
kind:
|
||||
type: string
|
||||
name:
|
||||
|
@ -180,10 +179,8 @@ spec:
|
|||
type: object
|
||||
mutate:
|
||||
properties:
|
||||
overlay:
|
||||
AnyValue: {}
|
||||
patchStrategicMerge:
|
||||
AnyValue: {}
|
||||
overlay: {}
|
||||
patchStrategicMerge: {}
|
||||
patches:
|
||||
items:
|
||||
properties:
|
||||
|
@ -195,8 +192,7 @@ spec:
|
|||
type: string
|
||||
path:
|
||||
type: string
|
||||
value:
|
||||
AnyValue: {}
|
||||
value: {}
|
||||
required:
|
||||
- path
|
||||
- op
|
||||
|
@ -217,8 +213,7 @@ spec:
|
|||
type: array
|
||||
validate:
|
||||
properties:
|
||||
anyPattern:
|
||||
AnyValue: {}
|
||||
anyPattern: {}
|
||||
deny:
|
||||
properties:
|
||||
conditions:
|
||||
|
@ -248,8 +243,7 @@ spec:
|
|||
type: array
|
||||
message:
|
||||
type: string
|
||||
pattern:
|
||||
AnyValue: {}
|
||||
pattern: {}
|
||||
type: object
|
||||
required:
|
||||
- name
|
||||
|
|
|
@ -181,10 +181,8 @@ spec:
|
|||
mutate:
|
||||
type: object
|
||||
properties:
|
||||
overlay:
|
||||
AnyValue: {}
|
||||
patchStrategicMerge:
|
||||
AnyValue: {}
|
||||
overlay: {}
|
||||
patchStrategicMerge: {}
|
||||
patchesJson6902:
|
||||
type: string
|
||||
patches:
|
||||
|
@ -203,17 +201,14 @@ spec:
|
|||
- add
|
||||
- replace
|
||||
- remove
|
||||
value:
|
||||
AnyValue: {}
|
||||
value: {}
|
||||
validate:
|
||||
type: object
|
||||
properties:
|
||||
message:
|
||||
type: string
|
||||
pattern:
|
||||
AnyValue: {}
|
||||
anyPattern:
|
||||
AnyValue: {}
|
||||
pattern: {}
|
||||
anyPattern: {}
|
||||
deny:
|
||||
properties:
|
||||
conditions:
|
||||
|
@ -267,8 +262,7 @@ spec:
|
|||
type: string
|
||||
name:
|
||||
type: string
|
||||
data:
|
||||
AnyValue: {}
|
||||
data: {}
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
|
|
|
@ -104,8 +104,7 @@ spec:
|
|||
- namespace
|
||||
- name
|
||||
type: object
|
||||
data:
|
||||
AnyValue: {}
|
||||
data: {}
|
||||
kind:
|
||||
type: string
|
||||
name:
|
||||
|
@ -185,10 +184,8 @@ spec:
|
|||
type: object
|
||||
mutate:
|
||||
properties:
|
||||
overlay:
|
||||
AnyValue: {}
|
||||
patchStrategicMerge:
|
||||
AnyValue: {}
|
||||
overlay: {}
|
||||
patchStrategicMerge: {}
|
||||
patches:
|
||||
items:
|
||||
properties:
|
||||
|
@ -200,8 +197,7 @@ spec:
|
|||
type: string
|
||||
path:
|
||||
type: string
|
||||
value:
|
||||
AnyValue: {}
|
||||
value: {}
|
||||
required:
|
||||
- path
|
||||
- op
|
||||
|
@ -222,8 +218,7 @@ spec:
|
|||
type: array
|
||||
validate:
|
||||
properties:
|
||||
anyPattern:
|
||||
AnyValue: {}
|
||||
anyPattern: {}
|
||||
deny:
|
||||
properties:
|
||||
conditions:
|
||||
|
@ -253,8 +248,7 @@ spec:
|
|||
type: array
|
||||
message:
|
||||
type: string
|
||||
pattern:
|
||||
AnyValue: {}
|
||||
pattern: {}
|
||||
type: object
|
||||
required:
|
||||
- name
|
||||
|
|
|
@ -104,8 +104,7 @@ spec:
|
|||
- namespace
|
||||
- name
|
||||
type: object
|
||||
data:
|
||||
AnyValue: {}
|
||||
data: {}
|
||||
kind:
|
||||
type: string
|
||||
name:
|
||||
|
@ -185,10 +184,8 @@ spec:
|
|||
type: object
|
||||
mutate:
|
||||
properties:
|
||||
overlay:
|
||||
AnyValue: {}
|
||||
patchStrategicMerge:
|
||||
AnyValue: {}
|
||||
overlay: {}
|
||||
patchStrategicMerge: {}
|
||||
patches:
|
||||
items:
|
||||
properties:
|
||||
|
@ -200,8 +197,7 @@ spec:
|
|||
type: string
|
||||
path:
|
||||
type: string
|
||||
value:
|
||||
AnyValue: {}
|
||||
value: {}
|
||||
required:
|
||||
- path
|
||||
- op
|
||||
|
@ -222,8 +218,7 @@ spec:
|
|||
type: array
|
||||
validate:
|
||||
properties:
|
||||
anyPattern:
|
||||
AnyValue: {}
|
||||
anyPattern: {}
|
||||
deny:
|
||||
properties:
|
||||
conditions:
|
||||
|
@ -253,8 +248,7 @@ spec:
|
|||
type: array
|
||||
message:
|
||||
type: string
|
||||
pattern:
|
||||
AnyValue: {}
|
||||
pattern: {}
|
||||
type: object
|
||||
required:
|
||||
- name
|
||||
|
|
|
@ -104,8 +104,7 @@ spec:
|
|||
- namespace
|
||||
- name
|
||||
type: object
|
||||
data:
|
||||
AnyValue: {}
|
||||
data: {}
|
||||
kind:
|
||||
type: string
|
||||
name:
|
||||
|
@ -185,10 +184,8 @@ spec:
|
|||
type: object
|
||||
mutate:
|
||||
properties:
|
||||
overlay:
|
||||
AnyValue: {}
|
||||
patchStrategicMerge:
|
||||
AnyValue: {}
|
||||
overlay: {}
|
||||
patchStrategicMerge: {}
|
||||
patches:
|
||||
items:
|
||||
properties:
|
||||
|
@ -200,8 +197,7 @@ spec:
|
|||
type: string
|
||||
path:
|
||||
type: string
|
||||
value:
|
||||
AnyValue: {}
|
||||
value: {}
|
||||
required:
|
||||
- path
|
||||
- op
|
||||
|
@ -222,8 +218,7 @@ spec:
|
|||
type: array
|
||||
validate:
|
||||
properties:
|
||||
anyPattern:
|
||||
AnyValue: {}
|
||||
anyPattern: {}
|
||||
deny:
|
||||
properties:
|
||||
conditions:
|
||||
|
@ -253,8 +248,7 @@ spec:
|
|||
type: array
|
||||
message:
|
||||
type: string
|
||||
pattern:
|
||||
AnyValue: {}
|
||||
pattern: {}
|
||||
type: object
|
||||
required:
|
||||
- name
|
||||
|
|
Loading…
Add table
Reference in a new issue