helm

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AgentCrdsChart = &model.Chart{
	FilterTemplate: func(outPath string) bool {
		return strings.Contains(outPath, "templates") || outPath == "values.yaml"
	},
	Data: model.Data{
		ApiVersion:  "v1",
		Name:        "agent-crds",
		Description: "CRDs required by Gloo Mesh remote agents (i.e. cert-agent and wasm-agent).",
		Version:     version.Version,
	},
}
View Source
var CertAgentChart = &model.Chart{
	Operators: []model.Operator{
		certAgentOperator(),
	},
	FilterTemplate: filterTemplates,
	Data: model.Data{
		ApiVersion:  "v1",
		Name:        "cert-agent",
		Description: "Helm chart for the Gloo Mesh Certificate Agent.",
		Version:     version.Version,
	},
	Values: nil,
}
View Source
var Chart = &model.Chart{
	Operators: []model.Operator{
		discoveryOperator(),
		NetworkingOperator("networking"),
	},
	FilterTemplate: filterTemplates,
	Data: model.Data{
		ApiVersion:  "v1",
		Name:        "gloo-mesh",
		Description: "Helm chart for Gloo Mesh.",
		Version:     version.Version,
		Dependencies: []model.Dependency{{
			Name:       "gloo-mesh-crds",
			Version:    version.Version,
			Repository: GetHelmRepository() + "gloo-mesh-crds",
		}},
	},
	Values: DefaultValues(),
}
View Source
var CrdsChart = &model.Chart{
	FilterTemplate: func(outPath string) bool {
		return strings.Contains(outPath, "templates") || outPath == "values.yaml"
	},
	Data: model.Data{
		ApiVersion:  "v1",
		Name:        "gloo-mesh-crds",
		Description: "CRDs required by Gloo Mesh management controllers (i.e. discovery and networking).",
		Version:     version.Version,
	},
}

Functions

func GetHelmRepository added in v0.12.1

func GetHelmRepository() string

return the Helm repository where Gloo Mesh charts are stored. will point to public url on releases, else install/helm/_output/charts/

func NetworkingOperator added in v0.12.1

func NetworkingOperator(name string) model.Operator

exported for use in Enterprise chart

Types

type ChartValues

type ChartValues struct {
	GlooMeshOperatorArgs       GlooMeshOperatorArgs `json:"glooMeshOperatorArgs"`
	Settings                   SettingsValues       `json:"settings"`
	DisallowIntersectingConfig bool                 `json:"disallowIntersectingConfig"`
	WatchOutputTypes           bool                 `json:"watchOutputTypes"`
}

The schema for our Helm chart values. Struct members must be public for visibility to skv2 Helm generator.

func DefaultValues added in v0.12.1

func DefaultValues() ChartValues

The default chart values

type GlooMeshOperatorArgs

type GlooMeshOperatorArgs struct {
	SettingsRef SettingsRef `json:"settingsRef"`
}

type SettingsRef

type SettingsRef struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

type SettingsValues

type SettingsValues settingsv1alpha2.SettingsSpec

we must use a custom Settings type here in order to ensure protos are marshalled to json properly

func (SettingsValues) MarshalJSON

func (v SettingsValues) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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