Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BasicConstraints ¶
type BasicConstraints struct {
IsCA bool `asn1:"optional"`
MaxPathLen int `asn1:"optional,default:-1"`
}
BasicConstraints CSR information RFC 5280, 4.2.1.9
type Config ¶
type Config struct {
InCluster bool // Running inside Kubernetes cluster
Kubeconfig string // Kubeconfig file to read from
Namespace string // Namespace for service and secret
ServiceName string // Service name to generate certificate for
SecretName string // Secret name to store generated cert in
AutoApprove bool // Auto Approve CSR
PatchMutating string // Name of MutatingWebhookConfiguration to patch CABundle
PatchValidating string // Name of ValidatingWebhookConfiguration to patch CABundle
}
Config holds required parameters
Click to show internal directories.
Click to hide internal directories.