@@ -20,8 +20,6 @@ SPDX-License-Identifier: Apache-2.0
2020package v1
2121
2222import (
23- "regexp"
24-
2523 monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1"
2624 corev1 "k8s.io/api/core/v1"
2725 "k8s.io/apimachinery/pkg/api/resource"
@@ -1123,18 +1121,6 @@ type SynchronizeReplicasConfiguration struct {
11231121 // List of regular expression patterns to match the names of replication slots to be excluded (by default empty)
11241122 // +optional
11251123 ExcludePatterns []string `json:"excludePatterns,omitempty"`
1126-
1127- synchronizeReplicasCache `json:"-"`
1128- }
1129-
1130- // synchronizeReplicasCache contains the result of the regex compilation
1131- // +kubebuilder:object:generate:=false
1132- type synchronizeReplicasCache struct {
1133- compiledPatterns []regexp.Regexp `json:"-"`
1134-
1135- compiled bool `json:"-"`
1136-
1137- compileErrors []error `json:"-"`
11381124}
11391125
11401126// ReplicationSlotsConfiguration encapsulates the configuration
@@ -1331,7 +1317,6 @@ type SynchronousReplicaConfiguration struct {
13311317 // to allow for operational continuity. This setting is only applicable if both
13321318 // `standbyNamesPre` and `standbyNamesPost` are unset (empty).
13331319 // +kubebuilder:validation:Enum=required;preferred
1334- // +kubebuilder:default:=required
13351320 // +optional
13361321 DataDurability DataDurabilityLevel `json:"dataDurability,omitempty"`
13371322}
0 commit comments