Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HTTPReadyzEndpoint route HTTPReadyzEndpoint = "/readyz" // WebhookConfigPrefix is the prefix for the dir containing the webhook SSL certs WebhookConfigPrefix = "cf-operator-hook-" // WebhookConfigDir contains the dir with the webhook SSL certs WebhookConfigDir = "/tmp" )
Variables ¶
This section is empty.
Functions ¶
func AddHooks ¶
func AddHooks(ctx context.Context, config *config.Config, m manager.Manager, generator credsgen.Generator) error
AddHooks adds all web hooks to the Manager
func AddToManager ¶
AddToManager adds all Controllers to the Manager
Types ¶
type WebhookConfig ¶
type WebhookConfig struct { ConfigName string // CertDir is not deleted automatically, so we can re-use the same SSL between operator restarts in production CertDir string Certificate []byte Key []byte CaCertificate []byte CaKey []byte // contains filtered or unexported fields }
WebhookConfig generates certificates and the configuration for the webhook server
Click to show internal directories.
Click to hide internal directories.