From da2ad7795116bcef09b6b873405ba0a1bf238efb7800a802770d3ee2c82b4b01 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Wed, 27 Nov 2024 08:23:32 +0000 Subject: [PATCH] rancher-turtles: Fix issue in 0.4.0 chart The previous import was based on a pre-merge copy of the following PR - an issue was discovered during SV validation which required an additional change to ensure CRDs are created before creating the ClusterctlConfig CR https://github.com/suse-edge/charts/pull/166 (cherry picked from commit 636493adbafb69b6bb0f65d50fe63441b5a3e8602f552cf325867b0b027c7c60) --- rancher-turtles-chart/templates/metal3-infrastructure.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rancher-turtles-chart/templates/metal3-infrastructure.yaml b/rancher-turtles-chart/templates/metal3-infrastructure.yaml index 098468f..122d9c4 100644 --- a/rancher-turtles-chart/templates/metal3-infrastructure.yaml +++ b/rancher-turtles-chart/templates/metal3-infrastructure.yaml @@ -16,6 +16,9 @@ kind: ClusterctlConfig metadata: name: clusterctl-config namespace: rancher-turtles-system + annotations: + "helm.sh/hook": "post-install, post-upgrade" + "helm.sh/hook-weight": "1" spec: providers: - name: metal3