Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // Log is a shared logger for the shared webhook. Log logr.Logger // Webhooks is the list of registered Webhooks that will be used to build the // shared webhook server. Webhooks []approver.Webhook // WebhookCertificatesDir is the directory that holds the certificate and key // (tls.crt, tls.key) which are used to server the Webhook server. The // TLS proivder waits for these files to become available before returning // from New(). WebhookCertificatesDir string // CASecretNamespace is the namespace that the // cert-manager-approver-policy-tls Secret is stored. CASecretNamespace string // ServiceName is the name of the service that exposes the webhook server. // This name will be used as the DNS SAN entry to the webhook's serving // certificate. ServiceName string // Manager is the shared controller-runtime manager used by this // approver-policy instance. The webhook will register its endpoints and // runnables against. Manager manager.Manager }
Options are options for running the wehook.
Click to show internal directories.
Click to hide internal directories.