Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCerts ¶
func GenerateCerts(certInfo map[string]CertInfo, csri util.CertificateSigningRequestInterface, namespace, clusterDomain string, expiration int, autoApproval bool, secrets *v1.Secret) error
GenerateCerts creates an SSL cert and private key
func RecordCertInfo ¶
func RecordCertInfo(certInfo map[string]CertInfo, configVar *model.VariableDefinition) error
RecordCertInfo record cert information for later generation
Types ¶
type CertInfo ¶
type CertInfo struct { PrivateKeyName string // Name to associate with private key CertificateName string // Name to associate with certificate IsAuthority bool KubeCACertFile string CAName string SubjectNames []string RoleName string Certificate []byte PrivateKey []byte CSRName string // Name of kube csr }
CertInfo contains all the information required to generate an SSL cert
Click to show internal directories.
Click to hide internal directories.