1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

Replace CRD AnyValue fields with empty dict ()

This commit is contained in:
Michael Barrientos 2020-08-13 11:57:35 -07:00 committed by GitHub
parent 0794084b4d
commit d2ac5b829b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 30 additions and 60 deletions
charts/kyverno/crds
definitions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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