constants

package
v1.18.0-beta31 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ConsulEndpointMetadataMatchTrue  = "1"
	ConsulEndpointMetadataMatchFalse = "0"

	// We use these prefixes to avoid shadowing in case a data center name is the same as a tag name
	ConsulTagKeyPrefix        = "tag_"
	ConsulDataCenterKeyPrefix = "dc_"
)
View Source
const (
	// Env variable that indicates the Istio sidecar injection is enabled via istioIntegration.enableIstioSidecarOnGateway
	// on the helm chart. If enabled, the gateway proxy is assumed to have an istio sidecar injected.
	IstioInjectionEnabled = "ENABLE_ISTIO_SIDECAR_ON_GATEWAY"

	// Note: These are coming from istio: https://github.com/istio/istio/blob/fa321ebd2a1186325788b0f461aa9f36a1a8d90e/pilot/pkg/model/service.go#L206
	// IstioCertSecret is the secret that holds the server cert and key for Istio mTLS
	IstioCertSecret = "istio_server_cert"

	// IstioValidationContext is the secret that holds the root cert for Istio mTLS
	IstioValidationContext = "istio_validation_context"

	// IstioTlsModeLabel is the Istio injection label added to workloads in mesh
	IstioTlsModeLabel = "security.istio.io/tlsMode"

	// IstioMutualTLSModeLabel implies that the endpoint is ready to receive Istio mTLS connections.
	IstioMutualTLSModeLabel = "istio"

	// TLSModeLabelShortname name used for determining endpoint level tls transport socket configuration
	TLSModeLabelShortname = "tlsMode"
)
View Source
const (
	SdsClusterName = "gateway_proxy_sds"
	SdsTargetURI   = "127.0.0.1:8234"
)
View Source
const AllowEmpty = "allow_empty"

AllowEmpty is a reusable term to avoid setting defaults. This should be used where gloo decides to set common sense defaults but needs a way to specify a empty set.

View Source
const (
	EnvoyBinaryEnv = "ENVOY_BINARY"
)
View Source
const (
	GlooGatewayEnableK8sGwControllerEnv = "GG_K8S_GW_CONTROLLER"
)
View Source
const (
	SoloGeneratedClusterPrefix = "solo_io_generated_" // this is used to identify clusters that are generated by gloo
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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