helmfile

package
v0.40.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultFilePattern specifies accepted Helm chart metadata file name
	DefaultFilePattern [2]string = [2]string{"*.yaml", "*.yml"}
)

Functions

func SetAction added in v0.40.0

func SetAction(configSpec *config.Spec, actionSpec action.Config, actionID string)

func SetScm

func SetScm(configSpec *config.Spec, scmSpec scm.Config, scmID string)

Types

type Helmfile

type Helmfile struct {
	// contains filtered or unexported fields
}

Helmfile hold all information needed to generate helmfile manifest.

func New

func New(spec interface{}, rootDir string) (Helmfile, error)

New return a new valid Helm object.

func (Helmfile) DiscoverManifests

func (h Helmfile) DiscoverManifests(input discoveryConfig.Input) ([]config.Spec, error)

type MatchingRule

type MatchingRule struct {
	// Path specifies a Helm chart path pattern, the pattern requires to match all of name, not just a substring.
	Path string
}

MatchingRule allows to specifies rules to identify manifest

type MatchingRules

type MatchingRules []MatchingRule

type Spec

type Spec struct {
	// RootDir defines the root directory used to recursively search for Helm Chart
	RootDir string `yaml:",omitempty"`
	// Ignore allows to specify rule to ignore autodiscovery a specific Helm based on a rule
	Ignore MatchingRules `yaml:",omitempty"`
	// Only allows to specify rule to only autodiscover manifest for a specific Helm based on a rule
	Only MatchingRules `yaml:",omitempty"`
	// Auths provides a map of registry credentials where the key is the registry URL without scheme
	Auths map[string]docker.InlineKeyChain `yaml:",omitempty"`
}

Spec defines the parameters which can be provided to the Helm builder.

Jump to

Keyboard shortcuts

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