Skip to content

Commit b07df16

Browse files
author
CloudNativePG Automated Updates
committed
chore: sync API
1 parent fc6c9b1 commit b07df16

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

pkg/api/v1/cluster_types.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,6 +2196,9 @@ type MonitoringConfiguration struct {
21962196

21972197
// Enable or disable the `PodMonitor`
21982198
// +kubebuilder:default:=false
2199+
//
2200+
// Deprecated: This feature will be removed in an upcoming release. If
2201+
// you need this functionality, you can create a PodMonitor manually.
21992202
// +optional
22002203
EnablePodMonitor bool `json:"enablePodMonitor,omitempty"`
22012204

@@ -2205,10 +2208,16 @@ type MonitoringConfiguration struct {
22052208
TLSConfig *ClusterMonitoringTLSConfiguration `json:"tls,omitempty"`
22062209

22072210
// The list of metric relabelings for the `PodMonitor`. Applied to samples before ingestion.
2211+
//
2212+
// Deprecated: This feature will be removed in an upcoming release. If
2213+
// you need this functionality, you can create a PodMonitor manually.
22082214
// +optional
22092215
PodMonitorMetricRelabelConfigs []monitoringv1.RelabelConfig `json:"podMonitorMetricRelabelings,omitempty"`
22102216

22112217
// The list of relabelings for the `PodMonitor`. Applied to samples before scraping.
2218+
//
2219+
// Deprecated: This feature will be removed in an upcoming release. If
2220+
// you need this functionality, you can create a PodMonitor manually.
22122221
// +optional
22132222
PodMonitorRelabelConfigs []monitoringv1.RelabelConfig `json:"podMonitorRelabelings,omitempty"`
22142223
}

pkg/api/v1/pooler_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ type PoolerSpec struct {
8888
DeploymentStrategy *appsv1.DeploymentStrategy `json:"deploymentStrategy,omitempty"`
8989

9090
// The configuration of the monitoring infrastructure of this pooler.
91+
//
92+
// Deprecated: This feature will be removed in an upcoming release. If
93+
// you need this functionality, you can create a PodMonitor manually.
9194
// +optional
9295
Monitoring *PoolerMonitoringConfiguration `json:"monitoring,omitempty"`
9396

0 commit comments

Comments
 (0)