nginxingressshoot

package
v1.72.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ManagedResourceName is the name of the nginx-ingress addon managed resource.
	ManagedResourceName = "shoot-addon-nginx-ingress"
)

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 CentralLoggingConfiguration

func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)

CentralLoggingConfiguration returns a fluent-bit parser and filter for the nginx-ingress logs.

func New

func New(
	client client.Client,
	namespace string,
	values Values,
) component.DeployWaiter

New creates a new instance of DeployWaiter for nginx-ingress

Types

type Values

type Values struct {
	// NginxControllerImage is the container image used for nginx-ingress controller.
	NginxControllerImage string
	// DefaultBackendImage is the container image used for default ingress backend.
	DefaultBackendImage string
	// KubernetesVersion is the kubernetes version of the shoot.
	KubernetesVersion *semver.Version
	// ConfigData contains the configuration details for the nginx-ingress controller.
	ConfigData map[string]string
	// KubeAPIServerHost is the host of the kube-apiserver.
	KubeAPIServerHost *string
	// LoadBalancerSourceRanges is list of allowed IP sources for NginxIngress.
	LoadBalancerSourceRanges []string
	// ExternalTrafficPolicy controls the `.spec.externalTrafficPolicy` value of the load balancer `Service`
	// exposing the nginx-ingress.
	ExternalTrafficPolicy corev1.ServiceExternalTrafficPolicyType
	// VPAEnabled marks whether VerticalPodAutoscaler is enabled for the shoot.
	VPAEnabled bool
	// PSPDisabled marks whether the PodSecurityPolicy admission plugin is disabled.
	PSPDisabled bool
}

Values is a set of configuration values for the nginx-ingress component.

Jump to

Keyboard shortcuts

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