Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions tests/templates/kuttl/metrics/10-assert.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: stackable-opensearch
labels:
release: prometheus-stack
spec:
selector:
matchLabels:
Expand Down
17 changes: 0 additions & 17 deletions tests/templates/kuttl/metrics/10-install-prometheus.yaml

This file was deleted.

18 changes: 18 additions & 0 deletions tests/templates/kuttl/metrics/11-install-prometheus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
# Append the namespace to the Helm release name so that cluster-wide
# resources get unique names.
- script: |
helm install prometheus-$NAMESPACE \
--namespace $NAMESPACE \
--version 80.14.2 \
--values 11_kube-prometheus-stack-values.yaml \
--wait \
oci://ghcr.io/prometheus-community/charts/kube-prometheus-stack

kubectl label servicemonitors.monitoring.coreos.com stackable-opensearch \
--namespace $NAMESPACE \
release=prometheus-$NAMESPACE
timeout: 600