options

package
v1.9.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerOptions

type ControllerOptions struct {
	APIServerHost      string
	Kubeconfig         string
	KubernetesAPIQPS   float32
	KubernetesAPIBurst int

	ClusterResourceNamespace string
	Namespace                string

	LeaderElect                 bool
	LeaderElectionNamespace     string
	LeaderElectionLeaseDuration time.Duration
	LeaderElectionRenewDeadline time.Duration
	LeaderElectionRetryPeriod   time.Duration

	ACMEHTTP01SolverImage                 string
	ACMEHTTP01SolverResourceRequestCPU    string
	ACMEHTTP01SolverResourceRequestMemory string
	ACMEHTTP01SolverResourceLimitsCPU     string
	ACMEHTTP01SolverResourceLimitsMemory  string
	// Allows specifying a list of custom nameservers to perform HTTP01 checks on.
	ACMEHTTP01SolverNameservers []string

	ClusterIssuerAmbientCredentials bool
	IssuerAmbientCredentials        bool

	// Default issuer/certificates details consumed by ingress-shim
	DefaultIssuerName                 string
	DefaultIssuerKind                 string
	DefaultIssuerGroup                string
	DefaultAutoCertificateAnnotations []string

	// Allows specifying a list of custom nameservers to perform DNS checks on.
	DNS01RecursiveNameservers []string
	// Allows controlling if recursive nameservers are only used for all checks.
	// Normally authoritative nameservers are used for checking propagation.
	DNS01RecursiveNameserversOnly bool

	EnableCertificateOwnerRef bool

	MaxConcurrentChallenges int

	// The host and port address, separated by a ':', that the Prometheus server
	// should expose metrics on.
	MetricsListenAddress string
	// PprofAddress is the address on which Go profiler will run. Should be
	// in form <host>:<port>.
	PprofAddress string
	// EnablePprof determines whether pprof should be enabled.
	EnablePprof bool

	// DNSO1CheckRetryPeriod is the period of time after which to check if
	// challenge URL can be reached by cert-manager controller. This is used
	// for both DNS-01 and HTTP-01 challenges.
	DNS01CheckRetryPeriod time.Duration

	// Annotations copied Certificate -> CertificateRequest,
	// CertificateRequest -> Order. Slice of string literals that are
	// treated as prefixes for annotation keys.
	CopiedAnnotationPrefixes []string
	// contains filtered or unexported fields
}

func NewControllerOptions

func NewControllerOptions() *ControllerOptions

func (*ControllerOptions) AddFlags

func (s *ControllerOptions) AddFlags(fs *pflag.FlagSet)

func (*ControllerOptions) EnabledControllers

func (o *ControllerOptions) EnabledControllers() sets.String

func (*ControllerOptions) Validate

func (o *ControllerOptions) Validate() error

Jump to

Keyboard shortcuts

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