controlplane

package
v1.15.6 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyDeployedSNI added in v1.12.6

func AnyDeployedSNI(ctx context.Context, c client.Client) (bool, error)

AnyDeployedSNI returns true if any SNI is deployed in the cluster.

func NewKubeAPIServerSNI

func NewKubeAPIServerSNI(
	values *KubeAPIServerSNIValues,
	namespace string,
	applier kubernetes.ChartApplier,
	chartsRootPath string,

) component.DeployWaiter

NewKubeAPIServerSNI creates a new instance of DeployWaiter which deploys Istio resources for kube-apiserver SNI access.

func NewKubeAPIService

func NewKubeAPIService(
	values *KubeAPIServiceValues,
	serviceKey client.ObjectKey,
	sniServiceKey client.ObjectKey,
	applier kubernetes.ChartApplier,
	chartsRootPath string,
	logger logrus.FieldLogger,
	crclient client.Client,
	waiter retry.Ops,
	clusterIPFunc func(clusterIP string),
	ingressFunc func(ingressIP string),

) component.DeployWaiter

NewKubeAPIService creates a new instance of DeployWaiter for a specific DNS entry. <waiter> is optional and it's defaulted to github.com/gardener/gardener/pkg/utils/retry.DefaultOps().

Types

type IstioIngressGateway added in v1.13.0

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

IstioIngressGateway contain the values for istio ingress gateway configuration.

type KubeAPIServerSNIValues

type KubeAPIServerSNIValues struct {
	Hosts                    []string            `json:"hosts,omitempty"`
	Name                     string              `json:"name,omitempty"`
	NamespaceUID             types.UID           `json:"namespaceUID,omitempty"`
	ApiserverClusterIP       string              `json:"apiserverClusterIP,omitempty"`
	IstioIngressGateway      IstioIngressGateway `json:"istioIngressGateway,omitempty"`
	EnableKonnectivityTunnel bool                `json:"enableKonnectivityTunnel,omitempty"`
}

kubeAPIServiceValues configure the kube-apiserver service SNI.

type KubeAPIServiceValues

type KubeAPIServiceValues struct {
	Annotations               map[string]string
	KonnectivityTunnelEnabled bool
	SNIPhase                  component.Phase
}

KubeAPIServiceValues configure the kube-apiserver service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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