config

package
v2.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

type KeyType

type KeyType string

KeyType is the type of private key.

const (
	// ECDSA is the key type for ECDSA keys.
	ECDSA KeyType = "ecdsa"
	// RSA is the key type for RSA keys.
	RSA KeyType = "rsa"
	// DefaultClusterCAKeyType is the default key type for the cluster CA.
	DefaultClusterCAKeyType KeyType = ECDSA
)

func (*KeyType) Set

func (kt *KeyType) Set(v string) error

Set implements flag.Value.

func (*KeyType) String

func (kt *KeyType) String() string

String implements the String() method from flag.Value interface.

Jump to

Keyboard shortcuts

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