Open DinaBelova opened 2 months ago
M-1
templateupgrade e2e
. Adding this label to the PR will trigger the upgrade process for the managed clusters. The source and target templates will be chosen automatically from all the available ClusterTemplateChains
depending on the access rules provided in the TemplateManagement
object. Subsequently, (as soon as there can be more than a one-to-one match between the source and target template) the test may receive source and target template names as a parameter provided in the PR’s description (separate task).hmc-templates
helm chart will contain the default ClusterTemplateChain
with all the supported cluster templates and their upgrade sequences. The default ClusterTemplateChain
can be added to the TemplateManagement
spec and the template distribution system will be enabled (templates will be copied to the target namespaces defined in the corresponding accessRule
of the TemplateManagement). For details, see https://mirantis.github.io/project-2a-docs/template/main/#template-life-cycle-management. The 2A will not enforce the target namespaces. It’ll be up to the platform lead. In e2e upgrade testing, we’ll add the default access rule to the TemplateManagement spec with the default ClusterTemplateChain and the default namespace as a target namespace.