Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
Signed-off-by: Itay Grudev <[email protected]>
  • Loading branch information
itay-grudev committed Oct 15, 2024
1 parent 6e60bb4 commit ab02f03
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions charts/cluster/test/monitoring/01-monitoring_cluster-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ spec:
key: ''
name: ''
relabelings:
- targetLabel: environment
replacement: test
- targetLabel: type
replacement: rw
action: replace
- targetLabel: team
replacement: alpha
action: replace
metricRelabelings:
- action: replace
sourceLabels:
Expand All @@ -90,6 +92,24 @@ spec:
selector:
matchLabels:
cnpg.io/poolerName: monitoring-cluster-pooler-ro
podMetricsEndpoints:
- bearerTokenSecret:
key: ''
name: ''
relabelings:
- targetLabel: type
replacement: ro
action: replace
- targetLabel: team
replacement: alpha
action: replace
metricRelabelings:
- action: replace
sourceLabels:
- cluster
targetLabel: cnpg_cluster
- action: labeldrop
regex: cluster
---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
Expand Down

0 comments on commit ab02f03

Please sign in to comment.