diff --git a/charts/rancher-turtles/templates/core-provider.yaml b/charts/rancher-turtles/templates/core-provider.yaml index bfd0e07d..d43084e0 100644 --- a/charts/rancher-turtles/templates/core-provider.yaml +++ b/charts/rancher-turtles/templates/core-provider.yaml @@ -41,6 +41,12 @@ spec: selector: {{ index .Values "cluster-api-operator" "cluster-api" "core" "fetchConfig" "selector" }} {{- end }} {{- end }} +{{- if index .Values "cluster-api-operator" "cluster-api" "core" "image" }} + deployment: + containers: + - name: manager + image: {{ index .Values "cluster-api-operator" "cluster-api" "core" "image" }} +{{- end }} --- apiVersion: v1 kind: ConfigMap diff --git a/charts/rancher-turtles/templates/rke2-bootstrap.yaml b/charts/rancher-turtles/templates/rke2-bootstrap.yaml index d3725142..29d2d238 100644 --- a/charts/rancher-turtles/templates/rke2-bootstrap.yaml +++ b/charts/rancher-turtles/templates/rke2-bootstrap.yaml @@ -40,4 +40,10 @@ spec: selector: {{ index .Values "cluster-api-operator" "cluster-api" "rke2" "bootstrap" "fetchConfig" "selector" }} {{- end }} {{- end }} +{{- if index .Values "cluster-api-operator" "cluster-api" "rke2" "bootstrap" "image" }} + deployment: + containers: + - name: manager + image: {{ index .Values "cluster-api-operator" "cluster-api" "rke2" "bootstrap" "image" }} +{{- end }} {{- end }} diff --git a/charts/rancher-turtles/templates/rke2-controlplane.yaml b/charts/rancher-turtles/templates/rke2-controlplane.yaml index 74a0d67f..df61e96f 100644 --- a/charts/rancher-turtles/templates/rke2-controlplane.yaml +++ b/charts/rancher-turtles/templates/rke2-controlplane.yaml @@ -40,4 +40,10 @@ spec: selector: {{ index .Values "cluster-api-operator" "cluster-api" "rke2" "controlPlane" "fetchConfig" "selector" }} {{- end }} {{- end }} +{{- if index .Values "cluster-api-operator" "cluster-api" "rke2" "controlPlane" "image" }} + deployment: + containers: + - name: manager + image: {{ index .Values "cluster-api-operator" "cluster-api" "rke2" "controlPlane" "image" }} +{{- end }} {{- end }} diff --git a/charts/rancher-turtles/values.yaml b/charts/rancher-turtles/values.yaml index cbec5e1b..d678362a 100644 --- a/charts/rancher-turtles/values.yaml +++ b/charts/rancher-turtles/values.yaml @@ -49,6 +49,7 @@ cluster-api-operator: defaultName: capi-env-variables core: namespace: capi-system + image: "" fetchConfig: url: "" selector: "" @@ -57,11 +58,13 @@ cluster-api-operator: version: "" bootstrap: namespace: rke2-bootstrap-system + image: "" fetchConfig: url: "" selector: "" controlPlane: namespace: rke2-control-plane-system + image: "" fetchConfig: url: "" selector: ""