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 {
// 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" )
Click to show internal directories.
Click to hide internal directories.