From e4b78f75af6923f95794e80adef266cbc2f8762a Mon Sep 17 00:00:00 2001 From: Mikita Iwanowski Date: Mon, 24 Jun 2024 13:31:32 +0200 Subject: [PATCH] fix: remove labels --- charts/mondoo-operator/templates/deployment.yaml | 2 -- charts/mondoo-operator/templates/metrics-service.yaml | 1 - 2 files changed, 3 deletions(-) diff --git a/charts/mondoo-operator/templates/deployment.yaml b/charts/mondoo-operator/templates/deployment.yaml index 24274d9bc..31b9466a7 100644 --- a/charts/mondoo-operator/templates/deployment.yaml +++ b/charts/mondoo-operator/templates/deployment.yaml @@ -29,12 +29,10 @@ spec: replicas: {{ .Values.controllerManager.replicas }} selector: matchLabels: - app.kubernetes.io/name: mondoo-operator {{- include "mondoo-operator.selectorLabels" . | nindent 6 }} template: metadata: labels: - app.kubernetes.io/name: mondoo-operator {{- include "mondoo-operator.selectorLabels" . | nindent 8 }} annotations: kubectl.kubernetes.io/default-container: manager diff --git a/charts/mondoo-operator/templates/metrics-service.yaml b/charts/mondoo-operator/templates/metrics-service.yaml index 8cff6e776..2ffe9f1c9 100644 --- a/charts/mondoo-operator/templates/metrics-service.yaml +++ b/charts/mondoo-operator/templates/metrics-service.yaml @@ -7,7 +7,6 @@ metadata: spec: type: {{ .Values.metricsService.type }} selector: - app.kubernetes.io/name: mondoo-operator {{- include "mondoo-operator.selectorLabels" . | nindent 4 }} ports: {{- .Values.metricsService.ports | toYaml | nindent 2 -}} \ No newline at end of file