From 4733a70ef7fb78056e724f975309bd3a79abd7f1 Mon Sep 17 00:00:00 2001 From: Christopher Zell Date: Tue, 17 Sep 2024 11:46:26 +0200 Subject: [PATCH] test: update golden tests --- .../golden/es-exporter-deployment.golden.yaml | 16 ++++++++-------- .../es-exporter-servicemonitor.golden.yaml | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/charts/zeebe-benchmark/test/golden/es-exporter-deployment.golden.yaml b/charts/zeebe-benchmark/test/golden/es-exporter-deployment.golden.yaml index b07f9b0..ac4210e 100644 --- a/charts/zeebe-benchmark/test/golden/es-exporter-deployment.golden.yaml +++ b/charts/zeebe-benchmark/test/golden/es-exporter-deployment.golden.yaml @@ -5,17 +5,17 @@ kind: Deployment metadata: name: benchmark-test-prometheus-elasticsearch-exporter labels: - chart: prometheus-elasticsearch-exporter-5.9.0 - app: prometheus-elasticsearch-exporter - release: "benchmark-test" - heritage: "Helm" + app.kubernetes.io/name: prometheus-elasticsearch-exporter + app.kubernetes.io/instance: benchmark-test + app.kubernetes.io/version: "v1.7.0" + app.kubernetes.io/managed-by: Helm spec: replicas: 1 revisionHistoryLimit: 10 selector: matchLabels: - app: prometheus-elasticsearch-exporter - release: "benchmark-test" + app.kubernetes.io/name: prometheus-elasticsearch-exporter + app.kubernetes.io/instance: benchmark-test strategy: rollingUpdate: maxSurge: 1 @@ -24,8 +24,8 @@ spec: template: metadata: labels: - app: prometheus-elasticsearch-exporter - release: "benchmark-test" + app.kubernetes.io/name: prometheus-elasticsearch-exporter + app.kubernetes.io/instance: benchmark-test spec: serviceAccountName: default restartPolicy: Always diff --git a/charts/zeebe-benchmark/test/golden/es-exporter-servicemonitor.golden.yaml b/charts/zeebe-benchmark/test/golden/es-exporter-servicemonitor.golden.yaml index 007c220..a89a71a 100644 --- a/charts/zeebe-benchmark/test/golden/es-exporter-servicemonitor.golden.yaml +++ b/charts/zeebe-benchmark/test/golden/es-exporter-servicemonitor.golden.yaml @@ -5,10 +5,10 @@ kind: ServiceMonitor metadata: name: benchmark-test-prometheus-elasticsearch-exporter labels: - chart: prometheus-elasticsearch-exporter-5.9.0 - app: prometheus-elasticsearch-exporter - release: "benchmark-test" - heritage: "Helm" + app.kubernetes.io/name: prometheus-elasticsearch-exporter + app.kubernetes.io/instance: benchmark-test + app.kubernetes.io/version: "v1.7.0" + app.kubernetes.io/managed-by: Helm release: monitoring spec: endpoints: @@ -21,8 +21,8 @@ spec: jobLabel: benchmark-test selector: matchLabels: - app: prometheus-elasticsearch-exporter - release: "benchmark-test" + app.kubernetes.io/name: prometheus-elasticsearch-exporter + app.kubernetes.io/instance: benchmark-test namespaceSelector: matchNames: - benchmark-test