werf_chart

package
v1.1.21-fix26 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSecretValuesFileName = "secret-values.yaml"
	SecretDirName               = "secret"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartConfig

type ChartConfig struct {
	Name string `json:"name"`
}

type WerfChart

type WerfChart struct {
	Name             string
	ChartDir         string
	SecretValues     []map[string]interface{}
	Values           []string
	Set              []string
	SetString        []string
	ExtraAnnotations map[string]string
	ExtraLabels      map[string]string

	DecodedSecretFilesData map[string]string
	SecretValuesToMask     []string
}

func InitWerfChart

func InitWerfChart(projectName, chartDir string, env string, m secret.Manager) (*WerfChart, error)

func (*WerfChart) Deploy

func (chart *WerfChart) Deploy(releaseName string, namespace string, opts helm.ChartOptions) error

func (*WerfChart) LogExtraAnnotations

func (chart *WerfChart) LogExtraAnnotations()

func (*WerfChart) LogExtraLabels

func (chart *WerfChart) LogExtraLabels()

func (*WerfChart) MergeExtraAnnotations

func (chart *WerfChart) MergeExtraAnnotations(extraAnnotations map[string]string)

func (*WerfChart) MergeExtraLabels

func (chart *WerfChart) MergeExtraLabels(extraLabels map[string]string)

func (*WerfChart) SetGlobalAnnotation

func (chart *WerfChart) SetGlobalAnnotation(name, value string) error

func (*WerfChart) SetSecretValuesFile

func (chart *WerfChart) SetSecretValuesFile(path string, m secret.Manager) error

func (*WerfChart) SetServiceValues

func (chart *WerfChart) SetServiceValues(values map[string]interface{}) error

Jump to

Keyboard shortcuts

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