Documentation ¶
Index ¶
- Variables
- func BootstrapCluster(ctx context.Context, skipKubeAidConfigSetup, skipClusterctlMove bool, ...)
- func CreateOrUpdateSealedSecretFiles(ctx context.Context, clusterDir string)
- func DeleteCluster(ctx context.Context)
- func RecoverCluster(ctx context.Context, cloudProvider cloud.CloudProvider)
- func SetupCluster(ctx context.Context, kubeClient client.Client)
- func SetupKubeAidConfig(ctx context.Context, gitAuthMethod transport.AuthMethod, ...)
- type TemplateValues
Constants ¶
This section is empty.
Variables ¶
View Source
var KubeaidConfigFileTemplates embed.FS
Functions ¶
func BootstrapCluster ¶
func CreateOrUpdateSealedSecretFiles ¶
Creates / updates all necessary Sealed Secrets files for the given cluster, in the user's KubeAid config repository.
func DeleteCluster ¶
func RecoverCluster ¶
func RecoverCluster(ctx context.Context, cloudProvider cloud.CloudProvider)
func SetupCluster ¶
NOTE : Sealed Secrets must already be installed in the cluster.
func SetupKubeAidConfig ¶
func SetupKubeAidConfig(ctx context.Context, gitAuthMethod transport.AuthMethod, onlyUpdateSealedSecrets bool)
Does the following :
(1) Creates / updates all necessary files for the given cluster, in the user's KubeAid config repository. (2) Commits and pushes those changes to the upstream. (3) Waits for those changes to get merged into the default branch.
Types ¶
type TemplateValues ¶
type TemplateValues struct { CustomerID, GitUsername, GitPassword string config.ClusterConfig config.ForksConfig AWSConfig *config.AWSConfig HetznerConfig *config.HetznerConfig config.MonitoringConfig CAPIClusterNamespace, AWSB64EncodedCredentials, AWSAccountID string }
Click to show internal directories.
Click to hide internal directories.