Skip to content

Commit 8825fbf

Browse files
committed
Update naming of the metric storage related resources
The assert step checks if the metric storage has been created and, with that, the related pod. The name used for the metric storage is "telemetry-kuttl-metricstorage-with-nad", so we should use the same naming for the releated resources in the assert step
1 parent 3c16e99 commit 8825fbf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/kuttl/suites/tls/tests/03-assert.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apiVersion: v1
22
kind: Pod
33
metadata:
4-
name: prometheus-telemetry-kuttl-metricstorage-0
4+
name: prometheus-telemetry-kuttl-metricstorage-with-nad-0
55
ownerReferences:
66
- kind: StatefulSet
7-
name: prometheus-telemetry-kuttl-metricstorage
7+
name: prometheus-telemetry-kuttl-metricstorage-with-nad
88
annotations:
99
k8s.v1.cni.cncf.io/networks: '[{"name":"ctlplane","namespace":"openstack","interface":"ctlplane"}]'
1010
spec:
@@ -18,12 +18,12 @@ spec:
1818
name: tls-assets
1919
readOnly: true
2020
- mountPath: /prometheus
21-
name: prometheus-telemetry-kuttl-metricstorage-db
21+
name: prometheus-telemetry-kuttl-metricstorage-with-nad-db
2222
- mountPath: /etc/prometheus/secrets/combined-ca-bundle
2323
name: secret-combined-ca-bundle
2424
readOnly: true
25-
- mountPath: /etc/prometheus/rules/prometheus-telemetry-kuttl-metricstorage-rulefiles-0
26-
name: prometheus-telemetry-kuttl-metricstorage-rulefiles-0
25+
- mountPath: /etc/prometheus/rules/prometheus-telemetry-kuttl-metricstorage-with-nad-rulefiles-0
26+
name: prometheus-telemetry-kuttl-metricstorage-with-nad-rulefiles-0
2727
- mountPath: /etc/prometheus/web_config/web-config.yaml
2828
name: web-config
2929
readOnly: true

0 commit comments

Comments
 (0)