Documentation ¶
Index ¶
- func AddHelmRepo(repos []k3sv1alpha1.HelmRepo, kubeconfigPath string, clusterName string, ...)
- func CertManagerSettings(addons *k3sv1alpha1.CertManager, clusterName string) (release k3sv1alpha1.HelmInterfaces)
- func CreateNamespace(ns []string, kubeconfigPath string, clusterName string, dryRun bool)
- func CreateSecret(secret k3sv1alpha1.K8sSecret, kubeConfigPath string, clusterName string, ...) error
- func DeleteHelmReleases(releases []k3sv1alpha1.HelmInterfaces, kubeconfigPath string, ...)
- func DeleteSecret(secret k3sv1alpha1.K8sSecret, kubeConfigPath string, clusterName string, ...) error
- func ExternalDnsSettings(spec *k3sv1alpha1.ClusterSpec) (release k3sv1alpha1.HelmInterfaces)
- func GrafanaAgentCloudSettings(addons *k3sv1alpha1.Monitoring, clusterName string) (release k3sv1alpha1.HelmInterfaces)
- func HaproxySettings(addons *k3sv1alpha1.Ingress, lb *k3sv1alpha1.LoadBalancer, clusterName string) (release k3sv1alpha1.HelmInterfaces)
- func Helm3Upgrade(options *k3sv1alpha1.HelmOptions) (err error)
- func LoadBalancerSettings(lb *k3sv1alpha1.LoadBalancer, clusterName string)
- func MakeInstallCertManager(addons *k3sv1alpha1.CertManager, args *k3sv1alpha1.HelmRelease, ...) (err error)
- func MakeInstallExternalDns(spec *k3sv1alpha1.ClusterSpec, args *k3sv1alpha1.HelmRelease, ...) (err error)
- func MakeInstallGrafanaAgentCloud(addons *k3sv1alpha1.Monitoring, args *k3sv1alpha1.HelmRelease, ...) (err error)
- func MakeInstallHaproxy(addons *k3sv1alpha1.Ingress, args *k3sv1alpha1.HelmRelease, ...) (err error)
- func MakeInstallMetalLB(kubeConfigPath string, dryRun bool) (err error)
- func MakeInstallNginx(addons *k3sv1alpha1.Ingress, args *k3sv1alpha1.HelmRelease, ...) (err error)
- func MakeInstallVelero(addons *k3sv1alpha1.Backup, args *k3sv1alpha1.HelmRelease, ...) (err error)
- func NginxSettings(addons *k3sv1alpha1.Ingress, lb *k3sv1alpha1.LoadBalancer, clusterName string) (release k3sv1alpha1.HelmInterfaces)
- func VeleroSettings(addons *k3sv1alpha1.Backup, clusterName string) (release k3sv1alpha1.HelmInterfaces)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHelmRepo ¶ added in v0.2.0
func AddHelmRepo(repos []k3sv1alpha1.HelmRepo, kubeconfigPath string, clusterName string, updateRepo bool, dryRun bool)
AddHelmRepo - Add helm repository and update
func CertManagerSettings ¶ added in v0.4.0
func CertManagerSettings(addons *k3sv1alpha1.CertManager, clusterName string) (release k3sv1alpha1.HelmInterfaces)
CertManagerSettings
func CreateNamespace ¶ added in v0.2.0
CreateNamespace - Create namespace is not exits
func CreateSecret ¶ added in v0.2.0
func CreateSecret(secret k3sv1alpha1.K8sSecret, kubeConfigPath string, clusterName string, dryRun bool) error
CreateSecret kubectl create secret
func DeleteHelmReleases ¶ added in v0.2.0
func DeleteHelmReleases(releases []k3sv1alpha1.HelmInterfaces, kubeconfigPath string, clusterName string, dryRun bool)
DeleteHelmReleases - Delete Helm Releases
func DeleteSecret ¶ added in v0.3.0
func DeleteSecret(secret k3sv1alpha1.K8sSecret, kubeConfigPath string, clusterName string, dryRun bool) error
DeleteSecret
func ExternalDnsSettings ¶ added in v0.5.0
func ExternalDnsSettings(spec *k3sv1alpha1.ClusterSpec) (release k3sv1alpha1.HelmInterfaces)
ExternalDnsSettings func ExternalDnsSettings(addons *k3sv1alpha1.ExternalDns, lb *k3sv1alpha1.LoadBalancer, clusterName string) (release k3sv1alpha1.HelmInterfaces) {
func GrafanaAgentCloudSettings ¶ added in v0.3.0
func GrafanaAgentCloudSettings(addons *k3sv1alpha1.Monitoring, clusterName string) (release k3sv1alpha1.HelmInterfaces)
GrafanaAgentCloudSettings
func HaproxySettings ¶ added in v0.4.0
func HaproxySettings(addons *k3sv1alpha1.Ingress, lb *k3sv1alpha1.LoadBalancer, clusterName string) (release k3sv1alpha1.HelmInterfaces)
HaproxySettings
func Helm3Upgrade ¶ added in v0.2.0
func Helm3Upgrade(options *k3sv1alpha1.HelmOptions) (err error)
Helm3Upgrade - Install or update HELM Chart
func LoadBalancerSettings ¶ added in v0.4.0
func LoadBalancerSettings(lb *k3sv1alpha1.LoadBalancer, clusterName string)
LoadBalancerSettings
func MakeInstallCertManager ¶
func MakeInstallCertManager(addons *k3sv1alpha1.CertManager, args *k3sv1alpha1.HelmRelease, kubeConfigPath string, dryRun bool) (err error)
MakeInstallCertManager
func MakeInstallExternalDns ¶ added in v0.5.0
func MakeInstallExternalDns(spec *k3sv1alpha1.ClusterSpec, args *k3sv1alpha1.HelmRelease, kubeConfigPath string, dryRun bool) (err error)
MakeInstallExternalDns
func MakeInstallGrafanaAgentCloud ¶ added in v0.2.3
func MakeInstallGrafanaAgentCloud(addons *k3sv1alpha1.Monitoring, args *k3sv1alpha1.HelmRelease, kubeConfigPath string, dryRun bool) (err error)
MakeInstallGrafanaAgentCloud
func MakeInstallHaproxy ¶ added in v0.2.1
func MakeInstallHaproxy(addons *k3sv1alpha1.Ingress, args *k3sv1alpha1.HelmRelease, monitoring *k3sv1alpha1.Monitoring, kubeConfigPath string, dryRun bool) (err error)
MakeInstallHaproxy
func MakeInstallMetalLB ¶
MakeInstallMetalLB
func MakeInstallNginx ¶
func MakeInstallNginx(addons *k3sv1alpha1.Ingress, args *k3sv1alpha1.HelmRelease, monitoring *k3sv1alpha1.Monitoring, kubeConfigPath string, dryRun bool) (err error)
MakeInstallNginx
func MakeInstallVelero ¶ added in v0.3.0
func MakeInstallVelero(addons *k3sv1alpha1.Backup, args *k3sv1alpha1.HelmRelease, kubeConfigPath string, dryRun bool) (err error)
MakeInstallVelero https://github.com/vmware-tanzu/helm-charts/blob/main/charts/velero/values.yaml
func NginxSettings ¶ added in v0.4.0
func NginxSettings(addons *k3sv1alpha1.Ingress, lb *k3sv1alpha1.LoadBalancer, clusterName string) (release k3sv1alpha1.HelmInterfaces)
NginxSettings
func VeleroSettings ¶ added in v0.3.0
func VeleroSettings(addons *k3sv1alpha1.Backup, clusterName string) (release k3sv1alpha1.HelmInterfaces)
VeleroSettings
Types ¶
This section is empty.