Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ManagedResourceName is the name of the nginx-ingress managed resource. ManagedResourceName = name // ManagedResourceNameShootAddon is the name of the nginx-ingress addon managed resource. ManagedResourceNameShootAddon = "shoot-addon-nginx-ingress" // LabelAppValue is the value of the 'app' label for the ingress controller. LabelAppValue = "nginx-ingress" // LabelKeyComponent is the 'component' key used in labels. LabelKeyComponent = "component" // LabelValueController is the value of the 'component' label for the ingress controller. LabelValueController = "controller" )
Variables ¶
View Source
var ( // TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy // or deleted. TimeoutWaitForManagedResource = 2 * time.Minute // WaitUntilHealthy is an alias for managedresources.WaitUntilHealthy. Exposed for tests. WaitUntilHealthy = managedresources.WaitUntilHealthy )
Functions ¶
func CentralLoggingConfiguration ¶ added in v1.74.0
func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)
CentralLoggingConfiguration returns a fluent-bit parser and filter for the nginx-ingress logs.
Types ¶
type Values ¶
type Values struct {
// ClusterType specifies the type of the cluster to which nginx-ingress is being deployed.
ClusterType component.ClusterType
// TargetNamespace is the namespace in which the resources should be deployed
TargetNamespace string
// ImageController is the container image used for nginx-ingress controller.
ImageController string
// ImageDefaultBackend is the container image used for default ingress backend.
ImageDefaultBackend string
// IngressClass is the ingress class for the seed nginx-ingress controller
IngressClass string
// PriorityClassName is the name of the priority class for the nginx-ingress controller.
PriorityClassName string
// ConfigData contains the configuration details for the nginx-ingress controller
ConfigData map[string]string
// LoadBalancerAnnotations are the annotations added to the nginx-ingress load balancer service.
LoadBalancerAnnotations map[string]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.
Click to show internal directories.
Click to hide internal directories.