Removing predefined templates
Remove Templates shipped with Mirantis k0rdent Enterprise#
If you need to limit the templates that exist in your Mirantis k0rdent Enterprise installation, follow the instructions below:
-
Get the list of
ProviderTemplate,ClusterTemplateorServiceTemplateobjects shipped with Mirantis k0rdent Enterprise. For example, forClusterTemplateobjects, run:kubectl get clustertemplates -n kcm-system -l helm.toolkit.fluxcd.io/name=kcm-templatesNAMESPACE NAME VALID kcm-system adopted-cluster-1-3-0 true kcm-system aws-eks-1-0-6 true kcm-system aws-hosted-cp-1-0-29 true kcm-system aws-standalone-cp-1-0-26 true kcm-system azure-aks-1-0-5 true kcm-system azure-hosted-cp-1-0-31 true kcm-system azure-standalone-cp-1-0-21 true kcm-system openstack-standalone-cp-1-0-28 true kcm-system vsphere-hosted-cp-1-0-27 true kcm-system vsphere-standalone-cp-1-0-24 true -
Remove the template from the list using
kubectl delete, as in:kubectl delete clustertemplate -n kcm-system <template-name>