fix(k8s-operator): duplicate helm labels

This commit is contained in:
Daniel Hougaard
2025-08-11 20:56:24 +04:00
parent dbbd58ffb7
commit f788dee398
4 changed files with 0 additions and 6 deletions

View File

@@ -9,13 +9,11 @@ spec:
replicas: {{ .Values.controllerManager.replicas }} replicas: {{ .Values.controllerManager.replicas }}
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: k8-operator
control-plane: controller-manager control-plane: controller-manager
{{- include "secrets-operator.selectorLabels" . | nindent 6 }} {{- include "secrets-operator.selectorLabels" . | nindent 6 }}
template: template:
metadata: metadata:
labels: labels:
app.kubernetes.io/name: k8-operator
control-plane: controller-manager control-plane: controller-manager
{{- include "secrets-operator.selectorLabels" . | nindent 8 }} {{- include "secrets-operator.selectorLabels" . | nindent 8 }}
annotations: annotations:

View File

@@ -8,7 +8,6 @@ metadata:
spec: spec:
type: {{ .Values.metricsService.type }} type: {{ .Values.metricsService.type }}
selector: selector:
app.kubernetes.io/name: k8-operator
control-plane: controller-manager control-plane: controller-manager
{{- include "secrets-operator.selectorLabels" . | nindent 4 }} {{- include "secrets-operator.selectorLabels" . | nindent 4 }}
ports: ports:

View File

@@ -15,4 +15,3 @@ spec:
targetPort: 8443 targetPort: 8443
selector: selector:
control-plane: controller-manager control-plane: controller-manager
app.kubernetes.io/name: k8-operator

View File

@@ -20,7 +20,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
control-plane: controller-manager control-plane: controller-manager
app.kubernetes.io/name: k8-operator
replicas: 1 replicas: 1
template: template:
metadata: metadata:
@@ -28,7 +27,6 @@ spec:
kubectl.kubernetes.io/default-container: manager kubectl.kubernetes.io/default-container: manager
labels: labels:
control-plane: controller-manager control-plane: controller-manager
app.kubernetes.io/name: k8-operator
spec: spec:
# TODO(user): Uncomment the following code to configure the nodeAffinity expression # TODO(user): Uncomment the following code to configure the nodeAffinity expression
# according to the platforms which are supported by your solution. # according to the platforms which are supported by your solution.