addons

package
v0.0.0-...-597cd30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubeProxyDaemonSetName = "kubeproxy-daemonset"
)

Variables

This section is empty.

Functions

func KubeProxyConfigNameFor

func KubeProxyConfigNameFor(clusterName string) string

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func New

func New(kubeClient *kubeprovider.Client) *Controller

func (*Controller) Finalize

func (c *Controller) Finalize(_ context.Context, _ *v1alpha1.ControlPlane) (err error)

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, controlPlane *v1alpha1.ControlPlane) error

Reconcile adds add-ons to the guest cluster provisioned

type CoreDNS

type CoreDNS struct {
	// contains filtered or unexported fields
}

func CoreDNSController

func CoreDNSController(kubeClient *kubeprovider.Client) *CoreDNS

func (*CoreDNS) Finalize

func (c *CoreDNS) Finalize(_ context.Context, _ *v1alpha1.ControlPlane) (err error)

func (*CoreDNS) Reconcile

func (c *CoreDNS) Reconcile(ctx context.Context, _ *v1alpha1.ControlPlane) error

type KubeProxy

type KubeProxy struct {
	// contains filtered or unexported fields
}

func KubeProxyController

func KubeProxyController(kubeClient, substrateCluster *kubeprovider.Client) *KubeProxy

func (*KubeProxy) Finalize

func (k *KubeProxy) Finalize(_ context.Context, _ *v1alpha1.ControlPlane) (err error)

func (*KubeProxy) Reconcile

func (k *KubeProxy) Reconcile(ctx context.Context, controlPlane *v1alpha1.ControlPlane) error

type RBAC

type RBAC struct {
	// contains filtered or unexported fields
}

func RBACController

func RBACController(kubeClient *kubeprovider.Client) *RBAC

RBACController configures the required RBAC permissions in the cluster for monitoring

func (*RBAC) Finalize

func (r *RBAC) Finalize(_ context.Context, _ *v1alpha1.ControlPlane) (err error)

func (*RBAC) Reconcile

func (r *RBAC) Reconcile(ctx context.Context, _ *v1alpha1.ControlPlane) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL