helm

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 12 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(),
	},
	FilterTemplate: filterTemplates,
	Data: model.Data{
		ApiVersion:  "v1",
		Name:        "gloo-mesh",
		Description: "Helm chart for Gloo Mesh.",
		Version:     version.Version,
	},
	Values: defaultValues(),
}

Functions

This section is empty.

Types

type ChartValues

type ChartValues struct {
	GlooMeshOperatorArgs GlooMeshOperatorArgs `json:"glooMeshOperatorArgs"`
	Settings             SettingsValues       `json:"settings"`
}

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

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