helm

package
v1.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 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:  "v2",
		Name:        "agent-crds",
		Description: "CRDs required by Gloo Mesh remote agents (i.e. cert-agent and enterprise-agent).",
		Version:     version.Version,
	},
}
View Source
var CertAgentChart = &model.Chart{
	Operators: []model.Operator{
		certAgentOperator(),
	},
	FilterTemplate: filterTemplates,
	Data: model.Data{
		ApiVersion:  "v2",
		Name:        "cert-agent",
		Description: "Helm chart for the Gloo Mesh Certificate Agent.",
		Version:     version.Version,
	},
	Values: ChartValues{
		Verbose: false,
	},
}
View Source
var Chart = &model.Chart{
	Operators: []model.Operator{
		discoveryOperator(),
		NetworkingOperator("networking"),
	},
	FilterTemplate: filterTemplates,
	Data: model.Data{
		ApiVersion:  "v2",
		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:  "v2",
		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"       desc:"Command line argument to Gloo Mesh deployments."`
	Settings                   SettingsValues       `` /* 183-byte string literal not displayed */
	DisallowIntersectingConfig bool                 `` /* 193-byte string literal not displayed */
	WatchOutputTypes           bool                 `` /* 142-byte string literal not displayed */
	DefaultMetricsPort         uint32               `` /* 147-byte string literal not displayed */
	Verbose                    bool                 `json:"verbose"                    desc:"If true, enables verbose/debug logging."`
}

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" desc:"Name/namespace of the Settings object."`
}

type SettingsRef

type SettingsRef struct {
	Name      string `json:"name"      desc:"Name of the Settings object."`
	Namespace string `json:"namespace" desc:"Namespace of the Settings object."`
}

type SettingsValues

type SettingsValues settingsv1.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