From 8297044a43c0f8a4f03c4ce79df143dd8e158b54 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 77d5863a5..a9fc425d2 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: