From 8ec2f5056aedf4fd60272f4550faa791bb7ff714 Mon Sep 17 00:00:00 2001 From: Bence Csati Date: Fri, 20 Dec 2024 10:24:58 +0100 Subject: [PATCH] revert: add instance label to templates Signed-off-by: Bence Csati --- deploy/charts/vault-operator/templates/deployment.yaml | 2 -- deploy/charts/vault-operator/templates/servicemonitor.yaml | 1 - 2 files changed, 3 deletions(-) diff --git a/deploy/charts/vault-operator/templates/deployment.yaml b/deploy/charts/vault-operator/templates/deployment.yaml index 2d8b8d42..2e78f012 100644 --- a/deploy/charts/vault-operator/templates/deployment.yaml +++ b/deploy/charts/vault-operator/templates/deployment.yaml @@ -17,12 +17,10 @@ spec: selector: matchLabels: app.kubernetes.io/name: {{ include "vault-operator.name" . }} - app.kubernetes.io/instance: {{ .Release.Name }} template: metadata: labels: app.kubernetes.io/name: {{ include "vault-operator.name" . }} - app.kubernetes.io/instance: {{ .Release.Name }} {{- with .Values.podLabels }} {{- toYaml . | nindent 8 }} {{- end }} diff --git a/deploy/charts/vault-operator/templates/servicemonitor.yaml b/deploy/charts/vault-operator/templates/servicemonitor.yaml index 39a7e74a..9f347d87 100644 --- a/deploy/charts/vault-operator/templates/servicemonitor.yaml +++ b/deploy/charts/vault-operator/templates/servicemonitor.yaml @@ -15,7 +15,6 @@ spec: selector: matchLabels: app.kubernetes.io/name: {{ include "vault-operator.name" . }} - app.kubernetes.io/instance: {{ .Release.Name }} endpoints: - port: http-metrics path: /metrics