Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReleaseName = "wekahome" ReleaseNamespace = "home-weka-io" RepositoryURL = "https://weka.github.io/gohome" RepositoryName = "wekahome" ChartName = "wekahome" )
View Source
const KubeConfigPath = "/etc/rancher/k3s/k3s.yaml"
Variables ¶
View Source
var ( ErrMalformedConfiguration = fmt.Errorf("logic error, malformed configuration generated") ErrGenerationFailed = fmt.Errorf("failed to generate configuration") )
View Source
var ErrUnableToFindChart = fmt.Errorf("unable to determine chart location")
Functions ¶
func ReadKubeConfig ¶
ReadKubeConfig reads the kubeconfig from the given path with fallback to ~/.kube/config
Types ¶
type HelmOptions ¶
type HelmOptions struct { KubeConfig []byte // path or content of kubeconfig file Override *LocationOverride // override chart package location KubeContext string // kubeconfig context to use NamespaceOverride string // override namespace for release Values []byte // raw values.yaml Config *config_v1.Configuration // json config }
type LocationOverride ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.