diff --git a/charts/cluster/test/monitoring/01-monitoring_cluster-assert.yaml b/charts/cluster/test/monitoring/01-monitoring_cluster-assert.yaml index 54987d819..2e6b18a44 100644 --- a/charts/cluster/test/monitoring/01-monitoring_cluster-assert.yaml +++ b/charts/cluster/test/monitoring/01-monitoring_cluster-assert.yaml @@ -5,7 +5,7 @@ metadata: labels: foo: bar annotations: - foo: bar + foo: bar spec: instances: 2 storage: @@ -18,10 +18,12 @@ spec: key: custom-queries enablePodMonitor: true podMonitorRelabelings: - - targetLabel: environment + - action: replace replacement: test - - targetLabel: team + targetLabel: environment + - action: replace replacement: alpha + targetLabel: team podMonitorMetricRelabelings: - action: replace sourceLabels: diff --git a/charts/cluster/test/monitoring/01-monitoring_cluster.yaml b/charts/cluster/test/monitoring/01-monitoring_cluster.yaml index 725919edf..f275d4b43 100644 --- a/charts/cluster/test/monitoring/01-monitoring_cluster.yaml +++ b/charts/cluster/test/monitoring/01-monitoring_cluster.yaml @@ -31,6 +31,10 @@ cluster: targetLabel: cnpg_cluster - action: labeldrop regex: cluster + additionalLabels: + foo: bar + annotations: + foo: bar backups: enabled: false pooler: