Documentation ¶
Index ¶
Constants ¶
View Source
const ProgName = "helmfile"
ProgName is the name of the `helmfile` binary
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { ChartVersion *string // ChartVersion optionally override chart version AppVersion *string // AppVersion optionally override application version (container image) ValuesFiles []string // ValuesFiles optional list of files for overriding chart values ArgocdMode bool // ArgocdMode if true, render ArgoCD manifests instead of application manifests }
Args arguments for a helmfile render
type Cmd ¶
type Cmd struct {
// contains filtered or unexported fields
}
Cmd encapsulates low-level parameters for a `helmfile` command
type ConfigRepo ¶
type ConfigRepo struct {
// contains filtered or unexported fields
}
ConfigRepo can be used to run `helmfile render` commands on a clone of the terra-helmfile repo
func NewConfigRepo ¶
func NewConfigRepo(options Options) *ConfigRepo
NewConfigRepo constructs a new ConfigRepo object
func (*ConfigRepo) CleanOutputDirectoryIfEnabled ¶
func (r *ConfigRepo) CleanOutputDirectoryIfEnabled() error
CleanOutputDirectoryIfEnabled cleans the output directory before rendering
func (*ConfigRepo) HelmUpdate ¶
func (r *ConfigRepo) HelmUpdate() error
HelmUpdate updates Helm repo indexes.
func (*ConfigRepo) RenderForDestination ¶ added in v0.0.24
func (r *ConfigRepo) RenderForDestination(destination terra.Destination, args *Args) error
func (*ConfigRepo) RenderForRelease ¶
func (r *ConfigRepo) RenderForRelease(release terra.Release, args *Args) error
type Options ¶
type Options struct { ThelmaHome string // ThelmaHome to terra-helmfile repo clone ChartSourceDir string // ChartSourceDir path on filesystem containing chart sources ChartCacheDir string // ChartCacheDir path to shared chart cache directory that can be re-used across renders ResolverMode resolver.Mode // Resolver mode HelmfileLogLevel string // HelmfileLogLevel is the --log-level argument to pass to `helmfile` command Stdout bool // Stdout if true, render to stdout instead of output directory OutputDir string // OutputDir directory where manifests should be rendered DebugMode bool // DebugMode if true, pass the --debug flag to helmfile to render out invalid yaml ScratchDir string // Scratch directory where temporary files should be written KubeVersion string // KubeVersion is the value to pass to the --kube-version flag of helmfile ShellRunner shell.Runner // ShellRunner shell Runner to use for executing helmfile commands }
Options constructor arguments for a ConfigRepo
Click to show internal directories.
Click to hide internal directories.