helmfile

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateValueFiles added in v0.13.0

func CreateValueFiles(pathToHelmfile, pathToValues string)

CreateValueFiles requires helmfile's path as input It parses the helmfiles and creates a directory with all the value files from the upstream helm charts

func RenderHelmfile added in v0.13.0

func RenderHelmfile(path string) []byte

renderHelmfile requires helmfile's path as input its content is treated as a gotemplate, which is executed and the result returned

Types

type HelmDefaults

type HelmDefaults struct {
	Timeout int  `yaml:"timeout"`
	Wait    bool `yaml:"wait"`
}

Helmfile HelmDefaults element

type HelmfileConfig

type HelmfileConfig struct {
	Repositories []Repository `yaml:"repositories"`
	HelmDefaults HelmDefaults `yaml:"helmDefaults"`
	Releases     []Release    `yaml:"releases"`
}

Helmfile top level elements.

type Hook added in v0.13.0

type Hook struct {
	Command string   `yaml:"command"`
	Args    []string `yaml:"args"`
	Events  []string `yaml:"events"`
}

Helmfile Hook element

type Release added in v0.13.0

type Release struct {
	Name               string   `yaml:"name"`
	Namespace          string   `yaml:"namespace"`
	Chart              string   `yaml:"chart"`
	Version            string   `yaml:"version"`
	DisableValidation  bool     `yaml:"disableValidation"`
	MissingFileHandler string   `yaml:"missingFileHandler"`
	Values             []string `yaml:"values"`
	Hooks              []Hook   `yaml:"hooks"`
	Needs              []string `yaml:"needs"`
}

Helmfile Release element (Helm Charts)

func (*Release) Valid added in v0.13.0

func (r *Release) Valid() bool

Valid returns true if Name, Chart and Version contain nonempty values

type Repository added in v0.13.0

type Repository struct {
	Name string `yaml:"name"`
	Url  string `yaml:"url"`
}

Helmfile Repository element

Jump to

Keyboard shortcuts

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