diff --git a/deploy/charts/harvester/templates/configmap.yaml b/deploy/charts/harvester/templates/configmap.yaml index 8b0d06407fd..55cbf471959 100644 --- a/deploy/charts/harvester/templates/configmap.yaml +++ b/deploy/charts/harvester/templates/configmap.yaml @@ -69,6 +69,15 @@ data: audit-policy-file: /etc/rancher/rke2/config.yaml.d/92-harvester-kube-audit-policy.yaml EOF + # Disable snapshot-controller related charts because we manage them in Harvester. + # RKE2 enables these charts by default after v1.25.7 (https://github.com/rancher/rke2/releases/tag/v1.25.7%2Brke2r1) + cat > /host/etc/rancher/rke2/config.yaml.d/40-disable-charts.yaml < "$HOST_DIR/etc/rancher/rke2/config.yaml.d/40-disable-charts.yaml" <