config

package
v2.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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