mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 12:03:58 +02:00
add maxLength constraint for CRD
This commit is contained in:
@@ -53,6 +53,7 @@ spec:
|
||||
required:
|
||||
- kind
|
||||
- apiVersion
|
||||
- metadata
|
||||
- spec
|
||||
properties:
|
||||
kind:
|
||||
@@ -63,6 +64,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