From bc851e4d287f3393e35bc78c4998b054f00f9856 Mon Sep 17 00:00:00 2001 From: Archisman Date: Thu, 9 Jan 2025 23:15:11 +0530 Subject: [PATCH] (capi-cluster) : using cluster-name + control-plane as label selectors in MachineHealthcheck Signed-off-by: Archisman --- .../capi-cluster/charts/aws/templates/MachineHealthCheck.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/argocd-helm-charts/capi-cluster/charts/aws/templates/MachineHealthCheck.yaml b/argocd-helm-charts/capi-cluster/charts/aws/templates/MachineHealthCheck.yaml index 18f7f532d..0ae849bec 100644 --- a/argocd-helm-charts/capi-cluster/charts/aws/templates/MachineHealthCheck.yaml +++ b/argocd-helm-charts/capi-cluster/charts/aws/templates/MachineHealthCheck.yaml @@ -7,7 +7,8 @@ spec: maxUnhealthy: 100% selector: matchLabels: - cluster.x-k8s.io/control-plane: {{ .Values.global.clusterName }}-control-plane + cluster.x-k8s.io/cluster-name: {{ .Values.global.clusterName }} + cluster.x-k8s.io/control-plane: "" unhealthyConditions: - type: Ready status: Unknown