Skip to content

Commit 940fe58

Browse files
committed
Fix prometheus tests
For chart testing the prometheus operator started to require (from 63.0.0 version) label release that equal to `prometheus` in the default deployment done in our CI. The change from the upstream: prometheus-community/helm-charts#4818
1 parent a6b1d6d commit 940fe58

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

charts/redpanda/ci/14-prometheus-no-tls-values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ tls:
1818

1919
monitoring:
2020
enabled: true
21+
labels:
22+
release: prometheus

charts/redpanda/ci/15-prometheus-tls-values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ tls:
1818

1919
monitoring:
2020
enabled: true
21+
labels:
22+
release: prometheus

charts/redpanda/testdata/template-cases.golden.txtar

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19720,6 +19720,7 @@ metadata:
1972019720
app.kubernetes.io/managed-by: Helm
1972119721
app.kubernetes.io/name: redpanda
1972219722
helm.sh/chart: redpanda-5.9.5
19723+
release: prometheus
1972319724
name: redpanda
1972419725
namespace: default
1972519726
spec:
@@ -21147,6 +21148,7 @@ metadata:
2114721148
app.kubernetes.io/managed-by: Helm
2114821149
app.kubernetes.io/name: redpanda
2114921150
helm.sh/chart: redpanda-5.9.5
21151+
release: prometheus
2115021152
name: redpanda
2115121153
namespace: default
2115221154
spec:

0 commit comments

Comments
 (0)