diff --git a/packages/rancher-turtles/generated-changes/patch/templates/pre-delete-job.yaml.patch b/packages/rancher-turtles/generated-changes/patch/templates/pre-delete-job.yaml.patch new file mode 100644 index 00000000..972843f8 --- /dev/null +++ b/packages/rancher-turtles/generated-changes/patch/templates/pre-delete-job.yaml.patch @@ -0,0 +1,13 @@ +--- charts-original/templates/pre-delete-job.yaml ++++ charts/templates/pre-delete-job.yaml +@@ -1,4 +1,5 @@ + {{- if index .Values "rancherTurtles" "features" "rancher-webhook" "cleanup" }} ++{{- if .Capabilities.APIVersions.Has "capiproviders.turtles-capi.cattle.io" }} + --- + apiVersion: v1 + kind: ServiceAccount +@@ -65,3 +66,4 @@ + - --cascade=foreground + restartPolicy: Never + {{- end }} ++{{- end }}