controlplane

package
v1.23.4 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 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 contains 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"`
	InternalDNSNameApiserver string              `json:"internalDNSNameApiserver,omitempty"`
	ReversedVPN              ReversedVPN         `json:"reversedVPN,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.

type ReversedVPN added in v1.22.0

type ReversedVPN struct {
	Enabled bool `json:"enabled,omitempty"`
}

ReversedVPN contains whether the reversed vpn is enabled or not.

Jump to

Keyboard shortcuts

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