Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateDefinition ¶
type CertificateDefinition struct { // current CA key/cert SignerSecret *corev1.Secret SignerValidity time.Duration SignerRefresh time.Duration // all valid CA certs CertBundleConfigmap *corev1.ConfigMap // current key/cert for target TargetSecret *corev1.Secret TargetValidity time.Duration TargetRefresh time.Duration // only one of the following should be set // contains target key/cert for server TargetService *string // contains target user name TargetUser *string }
CertificateDefinition contains the data required to create/manage certtificate chains
func CreateCertificateDefinitions ¶
func CreateCertificateDefinitions(args *FactoryArgs) []CertificateDefinition
CreateCertificateDefinitions creates certificate definitions
type FactoryArgs ¶
type FactoryArgs struct {
Namespace string
}
FactoryArgs contains the required parameters to generate certs
Click to show internal directories.
Click to hide internal directories.