istio

package
v1.40.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IstioNamespace                    = common.CalicoNamespace
	IstioReleaseName                  = "calico-istio"
	IstioIstiodDeploymentName         = "istiod"
	IstioCNIDaemonSetName             = "istio-cni-node"
	IstioZTunnelDaemonSetName         = "ztunnel"
	IstioSidecarInjectorConfigMapName = "istio-sidecar-injector"
	IstioOperatorAnnotationMode       = "operator.tigera.io/istioAmbientMode"
	IstioOperatorAnnotationDSCP       = "operator.tigera.io/istioDSCPMark"
	IstioFinalizer                    = "operator.tigera.io/calico-istio"
	IstioIstiodPolicyName             = networkpolicy.TigeraComponentPolicyPrefix + IstioIstiodDeploymentName
	IstioCNIPolicyName                = networkpolicy.TigeraComponentPolicyPrefix + IstioCNIDaemonSetName
	IstioZTunnelPolicyName            = networkpolicy.TigeraComponentPolicyPrefix + IstioZTunnelDaemonSetName
	IstioIstiodServiceName            = "istiod"
)

Variables

This section is empty.

Functions

Types

type AmbientConfig

type AmbientConfig struct {
	Enabled                    bool `json:"enabled,omitempty"`
	ReconcileIptablesOnStartup bool `json:"reconcileIptablesOnStartup,omitempty"`
}

type BaseOpts

type BaseOpts struct {
	Global *GlobalConfig `json:"global,omitempty"`
}

type Configuration

type Configuration struct {
	Installation   *operatorv1.InstallationSpec
	PullSecrets    []*corev1.Secret
	Istio          *operatorv1.Istio
	IstioNamespace string
	Scheme         *runtime.Scheme
}

type GlobalConfig

type GlobalConfig struct {
	IstioNamespace         string           `json:"istioNamespace,omitempty"`
	OperatorManageWebhooks bool             `json:"operatorManageWebhooks,omitempty"`
	Proxy                  *ProxyConfig     `json:"proxy,omitempty"`
	ProxyInit              *ProxyInitConfig `json:"proxy_init,omitempty"`
	Platform               string           `json:"platform,omitempty"`
}

type IstioCNIOpts

type IstioCNIOpts struct {
	Image   string         `json:"image,omitempty"`
	Global  *GlobalConfig  `json:"global,omitempty"`
	Ambient *AmbientConfig `json:"ambient,omitempty"`
}

type IstioComponent

type IstioComponent struct {
	IstioPilotImage      string
	IstioInstallCNIImage string
	IstioZTunnelImage    string
	IstioProxyv2Image    string
	// contains filtered or unexported fields
}

func (*IstioComponent) Objects

func (c *IstioComponent) Objects() ([]client.Object, []client.Object)

Objects implements the Component interface.

func (*IstioComponent) Ready

func (c *IstioComponent) Ready() bool

func (*IstioComponent) ResolveImages

func (c *IstioComponent) ResolveImages(is *operatorv1.ImageSet) error

func (*IstioComponent) SupportedOSType

func (c *IstioComponent) SupportedOSType() rmeta.OSType

type IstioComponentCRDs

type IstioComponentCRDs struct {
	// contains filtered or unexported fields
}

func (*IstioComponentCRDs) Objects

func (c *IstioComponentCRDs) Objects() ([]client.Object, []client.Object)

func (*IstioComponentCRDs) Ready

func (c *IstioComponentCRDs) Ready() bool

func (*IstioComponentCRDs) ResolveImages

func (c *IstioComponentCRDs) ResolveImages(is *operatorv1.ImageSet) error

func (*IstioComponentCRDs) SupportedOSType

func (c *IstioComponentCRDs) SupportedOSType() rmeta.OSType

type IstioResources

type IstioResources struct {
	CRDs    []client.Object
	Base    []client.Object
	Istiod  []client.Object
	CNI     []client.Object
	ZTunnel []client.Object

	IstiodDeployment              *appsv1.Deployment
	CNIDaemonSet                  *appsv1.DaemonSet
	ZTunnelDaemonSet              *appsv1.DaemonSet
	IstioSidecarInjectorConfigMap *corev1.ConfigMap
}

type IstiodOpts

type IstiodOpts struct {
	Image   string        `json:"image,omitempty"`
	Global  *GlobalConfig `json:"global,omitempty"`
	Profile string        `json:"profile,omitempty"`
}

type ProxyConfig

type ProxyConfig struct {
	Image string `json:"image,omitempty"`
}

type ProxyInitConfig

type ProxyInitConfig struct {
	Image string `json:"image,omitempty"`
}

type ResourceOpts

type ResourceOpts struct {
	Namespace   string
	ReleaseName string

	IstiodDeploymentName      string
	IstioCNIDaemonSetName     string
	IstioZTunnelDaemonSetName string

	BaseOpts     BaseOpts
	IstiodOpts   IstiodOpts
	IstioCNIOpts IstioCNIOpts
	ZTunnelOpts  ZTunnelOpts
}

func (*ResourceOpts) GetResources

func (r *ResourceOpts) GetResources(scheme *runtime.Scheme) (*IstioResources, error)

GetResources returns istio-chart generated templates

type ZTunnelOpts

type ZTunnelOpts struct {
	Image  string        `json:"image,omitempty"`
	Global *GlobalConfig `json:"global,omitempty"`
}

Jump to

Keyboard shortcuts

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