From 2e7393558de82d1d874e023692de527d8380a5ab Mon Sep 17 00:00:00 2001 From: Jimmi Dyson Date: Tue, 1 Oct 2024 15:58:20 +0100 Subject: [PATCH] fix: Rename webhook container to manager (#932) The clusterctl logic to wait for providers to be ready depends on the container name being manager (see https://github.com/kubernetes-sigs/cluster-api/blob/main/cmd/clusterctl/internal/util/objs.go#L181) otherwise it will not wait for the provider to be ready and hence potentially return too early for other client operations. --- .../templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/cluster-api-runtime-extensions-nutanix/templates/deployment.yaml b/charts/cluster-api-runtime-extensions-nutanix/templates/deployment.yaml index 46a6bf722..e63d11184 100644 --- a/charts/cluster-api-runtime-extensions-nutanix/templates/deployment.yaml +++ b/charts/cluster-api-runtime-extensions-nutanix/templates/deployment.yaml @@ -24,7 +24,7 @@ spec: serviceAccountName: {{ template "chart.name" . }} terminationGracePeriodSeconds: 10 containers: - - name: webhook + - name: manager image: "{{ .Values.image.repository }}:{{ default $.Chart.AppVersion .Values.image.tag }}" imagePullPolicy: "{{ .Values.image.pullPolicy }}" args: