Documentation
¶
Overview ¶
Package config handles the cluster configuration file generation. It implements an interactive configuration generation as well as provides default configuration for single node deployments.
Index ¶
- func ApplyEmbeddedUnsupportedOverrides(config *v1beta1.Cluster, embconfig []byte) error
- func ReadConfigFile(cfgPath string) (*v1beta1.Cluster, error)
- func RenderClusterConfig(ctx context.Context, multi bool) (*v1beta1.Cluster, error)
- func UpdateHelmConfigs(cfg *v1beta1.Cluster, opts ...addons.Option) error
- type UnsupportedConfigOverrides
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyEmbeddedUnsupportedOverrides ¶
ApplyEmbeddedUnsupportedOverrides applies the custom configuration to the cluster config.
func ReadConfigFile ¶
ReadConfigFile reads the cluster configuration from the provided file.
func RenderClusterConfig ¶
RenderClusterConfig renders a cluster configuration interactively.
Types ¶
type UnsupportedConfigOverrides ¶
type UnsupportedConfigOverrides struct { Spec struct { UnsupportedOverrides struct { K0s *cluster.K0s `yaml:"k0s"` } `yaml:"unsupportedOverrides"` } `yaml:"spec"` }
UnsupportedConfigOverrides is a auxiliary struct for parsing the unsupported overrides as provided in the Kots release. XXX This should eventually become a CRD.
Click to show internal directories.
Click to hide internal directories.