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 {TempDir}/k8s-webhook-server/serving-certs. // The server key and certificate must be named `tls.key` and `tls.crt`, respectively. CertDir string LeaderElection componentbaseconfig.LeaderElectionConfiguration }
Options contains everything necessary to create and run webhook server.
Click to show internal directories.
Click to hide internal directories.