From 3d3eee9f8c6d96bc645dbb6265c5eb6e63400750 Mon Sep 17 00:00:00 2001 From: Jociele Padilha Date: Tue, 16 Jun 2026 11:40:02 +0200 Subject: [PATCH] add added the 3 new fieldson crd --- manifests/operatorconfiguration.crd.yaml | 12 ++++++++++++ pkg/apis/acid.zalan.do/v1/crds.go | 9 +++++++++ 2 files changed, 21 insertions(+) diff --git a/manifests/operatorconfiguration.crd.yaml b/manifests/operatorconfiguration.crd.yaml index 81bcd4381..fb009c459 100644 --- a/manifests/operatorconfiguration.crd.yaml +++ b/manifests/operatorconfiguration.crd.yaml @@ -712,6 +712,18 @@ spec: default: "30 00 * * *" logical_backup_cronjob_environment_secret: type: string + logical_backup_failed_jobs_history_limit: + type: integer + minimum: 0 + default: 3 + logical_backup_successful_jobs_history_limit: + type: integer + minimum: 0 + default: 3 + logical_backup_ttl_seconds_after_finished: + type: integer + minimum: 0 + default: 86400 debug: type: object properties: diff --git a/pkg/apis/acid.zalan.do/v1/crds.go b/pkg/apis/acid.zalan.do/v1/crds.go index b6b58f072..042a9ec0b 100644 --- a/pkg/apis/acid.zalan.do/v1/crds.go +++ b/pkg/apis/acid.zalan.do/v1/crds.go @@ -887,6 +887,15 @@ var OperatorConfigCRDResourceValidation = apiextv1.CustomResourceValidation{ "logical_backup_cronjob_environment_secret": { Type: "string", }, + "logical_backup_successful_jobs_history_limit": { + Type: "integer", + }, + "logical_backup_failed_jobs_history_limit": { + Type: "integer", + }, + "logical_backup_ttl_seconds_after_finished": { + Type: "integer", + }, }, }, "debug": {