mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 18:02:54 +02:00
add maxLength constraint for CRD
This commit is contained in:
@@ -57,6 +57,7 @@ spec:
|
||||
required:
|
||||
- kind
|
||||
- apiVersion
|
||||
- metadata
|
||||
- spec
|
||||
properties:
|
||||
kind:
|
||||
@@ -67,6 +68,14 @@ spec:
|
||||
type: string
|
||||
enum:
|
||||
- acid.zalan.do/v1
|
||||
metadata:
|
||||
type: object
|
||||
required:
|
||||
- name
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
maxLength: 50
|
||||
spec:
|
||||
type: object
|
||||
required:
|
||||
|
||||
Reference in New Issue
Block a user