config

package
v0.2023.21 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperatorConfiguration added in v0.7.3

type OperatorConfiguration struct {
	config.SharedConfiguration

	// TokenLookupCacheTtl is the time for which the lookup cache results are considered valid
	TokenLookupCacheTtl time.Duration

	// AccessCheckTtl is time after that SPIAccessCheck CR will be deleted.
	AccessCheckTtl time.Duration

	// AccessTokenTtl is time after that AccessToken will be deleted.
	AccessTokenTtl time.Duration

	// AccessTokenBindingTtl is time after that AccessTokenBinding will be deleted.
	AccessTokenBindingTtl time.Duration

	//FileContentRequestTtl is time after that FileContentRequest will be deleted
	FileContentRequestTtl time.Duration

	// The policy to match the token against the binding
	TokenMatchPolicy TokenPolicy

	// The time before a token without data and with no bindings is automatically deleted.
	DeletionGracePeriod time.Duration

	// A maximum file size for file downloading from SCM capabilities supporting providers
	MaxFileDownloadSize int

	// Enable Token Upload controller
	EnableTokenUpload bool

	// Enable RemoteSecret controller
	EnableRemoteSecrets bool
}

type TokenPolicy added in v0.7.3

type TokenPolicy string

TokenPolicy specifies the policy to use when matching the tokens during the token lookup

const (
	AnyTokenPolicy   TokenPolicy = "any"
	ExactTokenPolicy TokenPolicy = "exact"
)

Jump to

Keyboard shortcuts

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