werf_chart

package
v1.1.28 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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