mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 10:11:49 +02:00
add maxLength constraint for CRD (#1175)
* 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: 53
|
||||
spec:
|
||||
type: object
|
||||
required:
|
||||
|
||||
Reference in New Issue
Block a user