defaults

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Defaults to {"istio": "ingressgateway"} based on https://github.com/istio/istio/blob/ab6cc48134a698d7ad218a83390fe27e8098919f/pkg/config/constants/constants.go#L73
	IstioGatewayLabelKey          = "istio"
	IstioIngressGatewayLabelValue = "ingressgateway"
	// The name of the externally-reachable port on which the ingress gateway is listening for TLS connections.
	IstioGatewayTlsPortName = "tls"
)
View Source
const (
	PodNamespaceEnv     = "POD_NAMESPACE"
	AgentClusterEnv     = "AGENT_CLUSTER"
	DefaultPodNamespace = "gloo-mesh"
)
View Source
const DefaultClusterDomain = "cluster.local"
View Source
const (
	// Default name for the Settings object, used if not provided at initialization time.
	DefaultSettingsName = "settings"
)
View Source
const MetricsPort uint32 = 9091

Variables

View Source
var DefaultGatewayWorkloadLabels = map[string]string{
	IstioGatewayLabelKey: IstioIngressGatewayLabelValue,
}

"istio": "ingressgateway" is a known string pair to Istio- it's semantically meaningful but unfortunately not exported from anywhere their ingress gateway is hardcoded in their own implementation to have this label https://github.com/istio/istio/blob/4e27ddc64f6a12e622c4cd5c836f5d7edf94e971/istioctl/cmd/describe.go#L1138

Functions

func GetAgentCluster added in v0.12.7

func GetAgentCluster() string

func GetPodNamespace

func GetPodNamespace() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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