Documentation ¶
Overview ¶
Package rancher contains a controller responsible for reconciling all rancher-related resources in the seed for Kubernetes clusters, as Rancher doesn't support openshift.
It is a no-op if the corresponding feature flag is not set on the cluster.
Index ¶
Constants ¶
View Source
const ( ControllerName = "kubernatic_rancher_controller" RancherUsername = "admin" RancherAdminSecret = "rancher-admin-secret" )
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add( mgr manager.Manager, log *zap.SugaredLogger, kubeconfigProvider KubeconfigProvider, versions kubermatic.Versions, ) error
Types ¶
type KubeconfigProvider ¶
type KubeconfigProvider interface {
GetAdminKubeconfig(ctx context.Context, c *kubermaticv1.Cluster) ([]byte, error)
}
KubeconfigProvider provides functionality to get a clusters admin kubeconfig
type Reconciler ¶
type Reconciler struct { ctrlruntimeclient.Client // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.