config

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultLeaderElectionLeaseDuration is the default duration that non-leader
	// candidates will wait to force acquire leadership.
	DefaultLeaderElectionLeaseDuration = 15 * time.Second
	// DefaultLeaderElectionRenewDeadline is the default duration that the acting
	// leader will retry refreshing leadership before giving up.
	DefaultLeaderElectionRenewDeadline = 10 * time.Second
	// DefaultLeaderElectionRetryPeriod is the default duration between retries
	// of leader election actions.
	DefaultLeaderElectionRetryPeriod = 2 * time.Second
)
View Source
const (
	// DefaultSecretLabelSelector is the default label selector to filter reconciled `Secret`s.
	// Value true vs internal
	DefaultSecretLabelSelector = "konghq.com/secret"
	// DefaultConfigMapLabelSelector is the default label selector to filter reconciled `ConfigMap`s.
	DefaultConfigMapLabelSelector = "konghq.com/configmap"
)
View Source
const (
	// LabelValueForSelectorTrue is the label value used to select resources managed by the operator.
	// Those resource are user facing, they will be fetched by operator and validated by validating webhook.
	LabelValueForSelectorTrue = "true"
	// LabelValueForSelectorInternal is the label value used to select resources managed by the operator.
	// Those resources are not user facing, they will be fetched by operator and by-pass the validating webhook.
	// Otherwise it leads to chicken egg problem when operator creates a Secret and validating webhook is not
	// running yet, furthermore validation for objects created by operator is pointless and sometimes locks the
	// operator reconciliation.
	LabelValueForSelectorInternal = "internal"
)
View Source
const DefaultClusterCAKeySize = 4096

DefaultClusterCAKeySize is the default size of the cluster CA key.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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