Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCertSecrets ¶
CreateCertSecrets creates k8s secret to store self signed cert data
func CreateMutateWebhook ¶
CreateMutateWebhook create new webhookconfig for stork if not exist already
func GenerateCertificate ¶
GenerateCertificate Self Signed certificate using given CN, returns x509 cert and priv key in PEM format
func GetTLSCertificate ¶
func GetTLSCertificate(cert, priv []byte) (tls.Certificate, error)
GetTLSCertificate from pub and priv key
Types ¶
type Controller ¶
type Controller struct { Recorder record.EventRecorder Driver volume.Driver SkipResource string // contains filtered or unexported fields }
Controller for admission mutating webhook to initialise resources with stork as scheduler, if given resources are using driver supported by stork
Click to show internal directories.
Click to hide internal directories.