Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix(k8s-operator): duplicate helm labels
Daniel Hougaardf788dee398fa
diff --git a/helm-charts/secrets-operator/templates/deployment.yaml b/helm-charts/secrets-operator/templates/deployment.yamlindex 95cf368019..eda0416687 100644--- a/helm-charts/secrets-operator/templates/deployment.yaml+++ b/helm-charts/secrets-operator/templates/deployment.yaml@@ -9,13 +9,11 @@ spec:replicas: {{ .Values.controllerManager.replicas }}selector:matchLabels:- app.kubernetes.io/name: k8-operatorcontrol-plane: controller-manager{{- include "secrets-operator.selectorLabels" . | nindent 6 }}template:metadata:labels:- app.kubernetes.io/name: k8-operatorcontrol-plane: controller-manager{{- include "secrets-operator.selectorLabels" . | nindent 8 }}annotations:diff --git a/helm-charts/secrets-operator/templates/metrics-service.yaml b/helm-charts/secrets-operator/templates/metrics-service.yamlindex 833117d05d..138dd3b3ff 100644--- a/helm-charts/secrets-operator/templates/metrics-service.yaml+++ b/helm-charts/secrets-operator/templates/metrics-service.yaml@@ -8,7 +8,6 @@ metadata:spec:type: {{ .Values.metricsService.type }}selector:- app.kubernetes.io/name: k8-operatorcontrol-plane: controller-manager{{- include "secrets-operator.selectorLabels" . | nindent 4 }}ports:diff --git a/k8-operator/config/default/metrics_service.yaml b/k8-operator/config/default/metrics_service.yamlindex cf99575a78..6acf3ca492 100644--- a/k8-operator/config/default/metrics_service.yaml+++ b/k8-operator/config/default/metrics_service.yaml@@ -15,4 +15,3 @@ spec:targetPort: 8443selector:control-plane: controller-manager- app.kubernetes.io/name: k8-operatordiff --git a/k8-operator/config/manager/manager.yaml b/k8-operator/config/manager/manager.yamlindex eae496083e..fe46017354 100644--- a/k8-operator/config/manager/manager.yaml+++ b/k8-operator/config/manager/manager.yaml@@ -20,7 +20,6 @@ spec:selector:matchLabels:control-plane: controller-manager- app.kubernetes.io/name: k8-operatorreplicas: 1template:metadata:@@ -28,7 +27,6 @@ spec:kubectl.kubernetes.io/default-container: managerlabels:control-plane: controller-manager- app.kubernetes.io/name: k8-operatorspec:# TODO(user): Uncomment the following code to configure the nodeAffinity expression# according to the platforms which are supported by your solution.