istio

package
v1.50.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const ManagedResourceControlName = "istio"

ManagedResourceControlName is the name of the ManagedResource containing the resource specifications.

Variables

View Source
var TimeoutWaitForManagedResource = 2 * time.Minute

TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy or deleted.

Functions

func NewIstio added in v1.50.0

func NewIstio(
	client crclient.Client,
	chartRenderer chartrenderer.Interface,
	values IstiodValues,
	namespace string,
	istioIngressGatewayValues []IngressGateway,
	istioProxyProtocolValues []ProxyProtocol,
) component.DeployWaiter

NewIstio can be used to deploy istio's istiod in a namespace. Destroy does nothing.

func NewIstioCRD

func NewIstioCRD(
	applier kubernetes.ChartApplier,
	client crclient.Client,
) component.DeployWaiter

NewIstioCRD can be used to deploy istio CRDs.

Types

type IngressGateway added in v1.50.0

type IngressGateway struct {
	Values    IngressValues
	Namespace string
}

IngressGateway is a set of configuration values for the istio-ingress chart.

type IngressValues

type IngressValues struct {
	TrustDomain     string            `json:"trustDomain,omitempty"`
	Image           string            `json:"image,omitempty"`
	Annotations     map[string]string `json:"annotations,omitempty"`
	IstiodNamespace string            `json:"istiodNamespace,omitempty"`
	LoadBalancerIP  *string           `json:"loadBalancerIP,omitempty"`
	Labels          map[string]string `json:"labels,omitempty"`
	// Ports is a list of all Ports the istio-ingress gateways is listening on.
	// Port 15021 and 15000 cannot be used.
	Ports []corev1.ServicePort `json:"ports,omitempty"`
}

IngressValues holds values for the istio-ingress chart. The only opened port is 15021.

type IstiodValues

type IstiodValues struct {
	TrustDomain string `json:"trustDomain,omitempty"`
	Image       string `json:"image,omitempty"`
}

IstiodValues holds values for the istio-istiod chart.

type ProxyProtocol added in v1.50.0

type ProxyProtocol struct {
	Values    ProxyValues
	Namespace string
}

ProxyProtocol is a set of configuration values for the istio-proxy-protocol chart.

type ProxyValues added in v1.27.0

type ProxyValues struct {
	Labels map[string]string `json:"labels,omitempty"`
}

ProxyValues holds values for the istio-proxy-protocol chart.

Jump to

Keyboard shortcuts

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