Documentation ¶
Index ¶
- Constants
- type VClusterReconciler
- func (r *VClusterReconciler) Reconcile(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) (ctrl.Result, error)
- func (r *VClusterReconciler) ReconcileChart(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane, ...) error
- func (r *VClusterReconciler) ReconcileKubeconfigSecret(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error
- func (r *VClusterReconciler) ReconcileNodePortService(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error
Constants ¶
View Source
const ( URL = "https://charts.loft.sh" Version = "0.16.4" RepoName = "loft" ChartName = "vcluster" ReleaseName = "vcluster" )
View Source
const ( ServiceName = "vcluster" ServicePort = 443 )
View Source
const (
TargetPort = 8443
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VClusterReconciler ¶
type VClusterReconciler struct {
*shared.BaseReconciler
}
VClusterReconciler reconciles a OCM ControlPlane
func New ¶
func New(cl client.Client, scheme *runtime.Scheme, version string, clientSet *kubernetes.Clientset, dynamicClient *dynamic.DynamicClient) *VClusterReconciler
func (*VClusterReconciler) Reconcile ¶
func (r *VClusterReconciler) Reconcile(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) (ctrl.Result, error)
func (*VClusterReconciler) ReconcileChart ¶
func (r *VClusterReconciler) ReconcileChart(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane, cfg *shared.SharedConfig) error
func (*VClusterReconciler) ReconcileKubeconfigSecret ¶ added in v0.3.0
func (r *VClusterReconciler) ReconcileKubeconfigSecret(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error
Reconcile the kubeconfig secret to set the `config-incluster` key with the in-cluster configuration
func (*VClusterReconciler) ReconcileNodePortService ¶ added in v0.2.7
func (r *VClusterReconciler) ReconcileNodePortService(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) error
Click to show internal directories.
Click to hide internal directories.