Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // BindAddress is the IP address on which to listen for the --secure-port port. // Default is "0.0.0.0". BindAddress string // SecurePort is the port that the webhook server serves at. // Default is 8443. SecurePort int // CertDir is the directory that contains the server key and certificate. // if not set, webhook server would look up the server key and certificate in /tmp/k8s-webhook-server/serving-certs. CertDir string // CertName is the server certificate name. Defaults to tls.crt. CertName string // CertValidity represents the duration the certificate should be valid for CertValidity string // KeyName is the server key name. Defaults to tls.key. KeyName string // KubernetesDomain represents the custom kubernetes domain needed in the certificate KubernetesDomain string // SecretName represents the name of the secret used to store the webhook certificates SecretName string // SecretNamespace represents the namespace of the secret used to store the webhook certificates SecretNamespace string // TLSMinVersion is the minimum version of TLS supported. Possible values: 1.0, 1.1, 1.2, 1.3. // Some environments have automated security scans that trigger on TLS versions or insecure cipher suites, and // setting TLS to 1.3 would solve both problems. // Defaults to 1.3. TLSMinVersion string // UseCertGenerator enables the self signed certificate UseCertGenerator bool // WebhookNames represents the names of the webhooks in the webhook server (i.e. controller-manager-nebula-operator-webhook, autoscaler-nebula-operator-webhook) WebhookNames *[]string // WebhookServerName represents the name of the webhook server associated with the certificate. WebhookServerName string // WebhookNamespace represents the namespace of the webhook server associated with the certificate. WebhookNamespace string }
Options contains everything necessary to create and run webhook server.
Click to show internal directories.
Click to hide internal directories.