Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCerts ¶
func GenerateCerts(certInfo map[string]CertInfo, namespace, clusterDomain string, expiration int, secrets *v1.Secret) error
GenerateCerts creates an SSL cert and private key
func RecordCertInfo ¶
func RecordCertInfo(certInfo map[string]CertInfo, configVar *model.ConfigurationVariable) 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 SubjectNames []string RoleName string Certificate []byte PrivateKey []byte }
CertInfo contains all the information required to generate an SSL cert
Click to show internal directories.
Click to hide internal directories.