defaults

package
v0.4.14 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 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 (
	// Debug enables debug messages.
	Debug = false

	// K8sRequestTimeout specifies the timeout for K8s API requests.
	K8sRequestTimeout = 60 * time.Second

	// CAGenerate can be set to true to generate a new CA secret.
	// If CAReuseSecret is true, then a new CA secret only is created if
	// existing one is not found.
	CAGenerate = false
	// CAReuseSecret can be set to true to store and load the CA from
	// the secret if it exists. Setting to false will delete the old Secret and
	// force regeneration.
	CAReuseSecret = false
	// CACommonName is the CA x509 certificate CN value.
	CACommonName = "CA"
	// CAValidityDuration represent how much time the CA certificate
	// generated by certgen is valid.
	CAValidityDuration = 3 * 365 * 24 * time.Hour
	// CASecretName is the Kubernetes Secret in which the CA certificate
	// is read from and/or written to.
	CASecretName = "ca"
	// CASecretNamespace is the namespace in which the CA certificate is
	// read from and/or written to.
	CASecretNamespace = "kube-system"
	// CAConfigMapName is the Kubernetes ConfigMap in which the CA certificate is
	// or written to.
	CAConfigMapName = ""
	// CAConfigMapNamespace is the namespace in which the CA certificate is
	// written to.
	CAConfigMapNamespace = ""
	// CAEnforceValidityThroughoutLeavesDuration controls whether certgen strictly
	// enforces that the CA certificates remain valid throughput the entire duration
	// of the leaf certificates to be generated.
	CAEnforceValidityThroughoutLeavesDuration = false
)

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