mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 07:51:18 +02:00
add support for global maintenance windows (#3038)
* add support for global maintenance windows * fix schema validation and trim \ when unmarshalling maintenance window
This commit is contained in:
@@ -99,6 +99,11 @@ spec:
|
||||
kubernetes_use_configmaps:
|
||||
type: boolean
|
||||
default: false
|
||||
maintenance_windows:
|
||||
items:
|
||||
pattern: '^\ *((Mon|Tue|Wed|Thu|Fri|Sat|Sun):(2[0-3]|[01]?\d):([0-5]?\d)|(2[0-3]|[01]?\d):([0-5]?\d))-((2[0-3]|[01]?\d):([0-5]?\d)|(2[0-3]|[01]?\d):([0-5]?\d))\ *$'
|
||||
type: string
|
||||
type: array
|
||||
max_instances:
|
||||
type: integer
|
||||
description: "-1 = disabled"
|
||||
|
||||
Reference in New Issue
Block a user