Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultSelfSignedCACertTTL is the default TTL of self-signed CA root certificate. DefaultSelfSignedCACertTTL = 365 * 24 * time.Hour // DefaultRequestedCACertTTL is the default requested TTL for the workload. DefaultRequestedCACertTTL = 365 * 24 * time.Hour // DefaultMaxWorkloadCertTTL is the default max TTL of issued workload certificates. DefaultMaxWorkloadCertTTL = 90 * 24 * time.Hour // DefaultWorkloadCertTTL is the default TTL of issued workload certificates. DefaultWorkloadCertTTL = 90 * 24 * time.Hour // DefaultWorkloadCertGracePeriodRatio is the default length of certificate rotation grace period, // configured as the ratio of the certificate TTL. DefaultWorkloadCertGracePeriodRatio = 0.5 // DefaultWorkloadMinCertGracePeriod is the default minimum grace period for workload cert rotation. DefaultWorkloadMinCertGracePeriod = 10 * time.Minute // DefaultProbeCheckInterval is the default interval of checking the liveness of the CA. DefaultProbeCheckInterval = 30 * time.Second // DefaultCSRGracePeriodPercentage is the default length of certificate rotation grace period, // configured as the percentage of the certificate TTL. DefaultCSRGracePeriodPercentage = 50 // DefaultCSRInitialRetrialInterval is the default initial interval between retries to send CSR to upstream CA. DefaultCSRInitialRetrialInterval = time.Second // DefaultCSRMaxRetries is the default value of CSR retries for Citadel to send CSR to upstream CA. DefaultCSRMaxRetries = 10 // ListenedNamespaceKey is the key for the environment variable that specifies the namespace. ListenedNamespaceKey = "NAMESPACE" )
Variables ¶
This section is empty.
Functions ¶
func InitializeFlags ¶
InitializeFlags carries over glog flags with new defaults, and makes `flag.Parsed()` to return true.
func NewProbeCmd ¶
NewProbeCmd creates the cobra.Command for the probe command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.