helmfile

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2022 License: BSD-3-Clause Imports: 14 Imported by: 0

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
	ShellRunner      shell.Runner  // ShellRunner shell Runner to use for executing helmfile commands
}

Options constructor arguments for a ConfigRepo

Directories

Path Synopsis
Package stateval is used for generating Helmfile state values.
Package stateval is used for generating Helmfile state values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL