remove validation for kind, apiVersion and metadata

This commit is contained in:
Felix Kunde
2019-11-26 11:16:02 +01:00
parent ba528cba4b
commit 4d3dce2968
4 changed files with 2 additions and 205 deletions
-28
View File
@@ -17,36 +17,8 @@ spec:
validation:
openAPIV3Schema:
required:
- kind
- apiVersion
- metadata
- configuration
properties:
kind:
type: string
enum:
- OperatorConfiguration
apiVersion:
type: string
enum:
- acid.zalan.do/v1
metadata:
type: object
required:
- name
properties:
annotations:
type: object
additionalProperties:
type: string
labels:
type: object
additionalProperties:
type: string
name:
type: string
namespace:
type: string
configuration:
type: object
properties:
-29
View File
@@ -17,37 +17,8 @@ spec:
validation:
openAPIV3Schema:
required:
- kind
- apiVersion
- metadata
- spec
properties:
kind:
type: string
enum:
- postgresql
apiVersion:
type: string
enum:
- acid.zalan.do/v1
metadata:
type: object
required:
- name
properties:
annotations:
type: object
additionalProperties:
type: string
labels:
type: object
additionalProperties:
type: string
name:
type: string
# Note: the cluster name specified here must begin with the team name.
namespace:
type: string
spec:
type: object
required: