Skip to content

Commit 8efbe51

Browse files
committed
Add assert step to 03-configure-nad-metricstorage
Check that the metricstorage pod has the correct network attachment annotation and that the TLS config continues to be in place.
1 parent 98d0650 commit 8efbe51

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
name: prometheus-telemetry-kuttl-metricstorage-0
5+
ownerReferences:
6+
- kind: StatefulSet
7+
name: prometheus-telemetry-kuttl-metricstorage
8+
annotations:
9+
k8s.v1.cni.cncf.io/networks: '[{"name":"ctlplane","namespace":"openstack","interface":"ctlplane"}]'
10+
spec:
11+
containers:
12+
- name: prometheus
13+
volumeMounts:
14+
- mountPath: /etc/prometheus/config_out
15+
name: config-out
16+
readOnly: true
17+
- mountPath: /etc/prometheus/certs
18+
name: tls-assets
19+
readOnly: true
20+
- mountPath: /prometheus
21+
name: prometheus-telemetry-kuttl-metricstorage-db
22+
- mountPath: /etc/prometheus/secrets/combined-ca-bundle
23+
name: secret-combined-ca-bundle
24+
readOnly: true
25+
- mountPath: /etc/prometheus/rules/prometheus-telemetry-kuttl-metricstorage-rulefiles-0
26+
name: prometheus-telemetry-kuttl-metricstorage-rulefiles-0
27+
- mountPath: /etc/prometheus/web_config/web-config.yaml
28+
name: web-config
29+
readOnly: true
30+
subPath: web-config.yaml
31+
- mountPath: /etc/prometheus/web_config/secret/cert-metric-storage-prometheus-svc-key
32+
readOnly: true
33+
- mountPath: /etc/prometheus/web_config/secret/cert-metric-storage-prometheus-svc-cert
34+
readOnly: true
35+
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
36+
readOnly: true
37+
- name: config-reloader
38+
- name: thanos-sidecar

0 commit comments

Comments
 (0)