Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultSidecarProxyUID = int64(1337) DefaultVerbosity = 2 )
Defaults values for injecting istio proxy into kubernetes resources.
View Source
const ( // InitContainerName is the name for init container InitContainerName = "istio-init" // ProxyContainerName is the name for sidecar proxy container ProxyContainerName = "istio-proxy" // ConfigMapKey should match the expected MeshConfig file name ConfigMapKey = "mesh" )
Variables ¶
This section is empty.
Functions ¶
func GetMeshConfig ¶
func GetMeshConfig(kube kubernetes.Interface, namespace, name string) (*proxyconfig.ProxyMeshConfig, error)
GetMeshConfig fetches configuration from a config map
func InitImageName ¶
InitImageName returns the fully qualified image name for the istio init image given a docker hub and tag
func IntoResourceFile ¶
IntoResourceFile injects the istio proxy into the specified kubernetes YAML file.
func ProxyImageName ¶
ProxyImageName returns the fully qualified image name for the istio proxy image given a docker hub and tag.
Types ¶
type Params ¶
type Params struct { InitImage string ProxyImage string Verbosity int SidecarProxyUID int64 Version string EnableCoreDump bool Mesh *proxyconfig.ProxyMeshConfig MeshConfigMapName string // Comma separated list of IP ranges in CIDR form. If set, only // redirect outbound traffic to Envoy for these IP // ranges. Otherwise all outbound traffic is redirected to Envoy. IncludeIPRanges string }
Params describes configurable parameters for injecting istio proxy into kubernetes resource.
Click to show internal directories.
Click to hide internal directories.