Documentation ¶
Index ¶
Constants ¶
View Source
const ( // The Istio secret annotation type IstioSecretType = "istio.io/key-and-cert" // The ID/name for the certificate chain file. CertChainID = "cert-chain.pem" // The ID/name for the private key file. PrivateKeyID = "key.pem" // The ID/name for the CA root certificate file. RootCertID = "root-cert.pem" )
#nosec: disable gas linter
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretController ¶
type SecretController struct {
// contains filtered or unexported fields
}
SecretController manages the service accounts' secrets that contains Istio keys and certificates.
func NewSecretController ¶
func NewSecretController(ca ca.CertificateAuthority, certTTL time.Duration, gracePeriodRatio float32, minGracePeriod time.Duration, core corev1.CoreV1Interface, namespace string) (*SecretController, error)
NewSecretController returns a pointer to a newly constructed SecretController instance.
func (*SecretController) Run ¶
func (sc *SecretController) Run(stopCh chan struct{})
Run starts the SecretController until a value is sent to stopCh.
Click to show internal directories.
Click to hide internal directories.