werf_chart

package
v1.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 14 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(ctx context.Context, projectName, chartDir string, env string, m secret.Manager) (*WerfChart, error)

func (*WerfChart) Deploy

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

func (*WerfChart) LogExtraAnnotations

func (chart *WerfChart) LogExtraAnnotations(ctx context.Context)

func (*WerfChart) LogExtraLabels

func (chart *WerfChart) LogExtraLabels(ctx context.Context)

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