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. CertDir string // CertName is the server certificate name. Defaults to tls.crt. CertName string // KeyName is the server key name. Defaults to tls.key. KeyName 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 // KubeAPIQPS is the QPS to use while talking with karmada-apiserver. KubeAPIQPS float32 // KubeAPIBurst is the burst to allow while talking with karmada-apiserver. KubeAPIBurst int // MetricsBindAddress is the TCP address that the controller should bind to // for serving prometheus metrics. // It can be set to "0" to disable the metrics serving. // Defaults to ":8080". MetricsBindAddress string // HealthProbeBindAddress is the TCP address that the controller should bind to // for serving health probes // Defaults to ":8000". HealthProbeBindAddress string }
Options contains everything necessary to create and run webhook server.
Click to show internal directories.
Click to hide internal directories.