Documentation
¶
Index ¶
Constants ¶
View Source
const (
FieldpathField = "k3k.io/fieldpath"
)
Variables ¶
This section is empty.
Functions ¶
func AddPodMutatorWebhook ¶
func AddPodMutatorWebhook(ctx context.Context, mgr manager.Manager, hostClient ctrlruntimeclient.Client, clusterName, clusterNamespace, nodeName, serviceName string, logger *log.Logger) error
AddPodMutatorWebhook will add a mutator webhook to the virtual cluster to modify the nodeName of the created pods with the name of the virtual kubelet node name as well as remove any status fields of the downward apis env fields
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.