vspheremachinetemplate objects are visible across all namespaces
search cancel

vspheremachinetemplate objects are visible across all namespaces

book

Article ID: 394825

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

TKGm copies vspheremachinetemplate objects to all namespaces

Environment

3.0

Cause

TKGm includes an object-propagation controller that automatically copies templates from the tkg-system namespace into any new namespace where a Cluster is being created.

The required infrastructure templates include:

  • KubeadmControlPlaneTemplate

  • VSphereMachineTemplate

  • KubeadmConfigTemplate

  • VSphereClusterTemplate

 

Resolution

This behavior is expected and by design in the current implementation of TKGm

All infrastructure templates and ClusterClass resources referenced by a Cluster must reside in the same namespace where the Cluster is being created in order to enhance security, isolation, and portability.