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 }}
selector:
matchLabels:
app.kubernetes.io/name: k8-operator
control-plane: controller-manager
{{- include "secrets-operator.selectorLabels" . | nindent 6 }}
template:
metadata:
labels:
app.kubernetes.io/name: k8-operator
control-plane: controller-manager
{{- include "secrets-operator.selectorLabels" . | nindent 8 }}
annotations:

View File

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

View File

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

View File

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