nginxingress

package
v1.73.1 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: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ManagedResourceName is the name of the nginx-ingress managed resource.
	ManagedResourceName = name

	// 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 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 {
	// ImageController is the container image used for nginx-ingress controller.
	ImageController string
	// ImageDefaultBackend is the container image used for default ingress backend.
	ImageDefaultBackend string
	// KubernetesVersion is the version of kubernetes for the seed cluster.
	KubernetesVersion *semver.Version
	// IngressClass is the ingress class for the seed nginx-ingress controller
	IngressClass 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
}

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