Documentation ¶
Index ¶
- func BootstrapCluster(k8sGardenClient kubernetes.Client, gardenNamespace string, ...) error
- func ReadGardenSecrets(k8sInformers kubeinformers.SharedInformerFactory, runningInCluster bool) (map[string]*corev1.Secret, error)
- func VerifyInternalDomainSecret(k8sGardenClient kubernetes.Client, numberOfShoots int, ...) error
- type Garden
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BootstrapCluster ¶
func BootstrapCluster(k8sGardenClient kubernetes.Client, gardenNamespace string, secrets map[string]*corev1.Secret) error
BootstrapCluster bootstraps the Garden cluster and deploys various required manifests.
func ReadGardenSecrets ¶
func ReadGardenSecrets(k8sInformers kubeinformers.SharedInformerFactory, runningInCluster bool) (map[string]*corev1.Secret, error)
ReadGardenSecrets reads the Kubernetes Secrets from the Garden cluster which are independent of Shoot clusters. The Secret objects are stored on the Controller in order to pass them to created Garden objects later.
func VerifyInternalDomainSecret ¶
func VerifyInternalDomainSecret(k8sGardenClient kubernetes.Client, numberOfShoots int, internalDomainSecret *corev1.Secret) error
VerifyInternalDomainSecret verifies that the internal domain secret matches to the internal domain secret used for existing Shoot clusters. It is not allowed to change the internal domain secret if there are existing Shoot clusters.
Types ¶
Click to show internal directories.
Click to hide internal directories.