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
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.
type GlooMeshOperatorArgs ¶
type GlooMeshOperatorArgs struct {
SettingsRef SettingsRef `json:"settingsRef" desc:"Name/namespace of the Settings object."`
}
type SettingsRef ¶
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)
Click to show internal directories.
Click to hide internal directories.