mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 05:06:13 +02:00
remove validation for kind, apiVersion and metadata
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user