Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webhook ¶
type Webhook struct {
// contains filtered or unexported fields
}
Webhook implements the validating admission webhook for validating Istio configuration.
func NewWebhook ¶
func NewWebhook(p WebhookParameters) (*Webhook, error)
NewWebhook creates a new instance of the admission webhook controller.
type WebhookParameters ¶
type WebhookParameters struct { // MixerValidator implements the backend validator functions for mixer configuration. MixerValidator store.BackendValidator // PilotDescriptor provides a description of all pilot configuration resources. PilotDescriptor model.ConfigDescriptor // DomainSuffix is the DNS domain suffix for Pilot CRD resources, // e.g. cluster.local. DomainSuffix string // Port where the webhook is served. Per k8s admission // registration requirements this should be 443 unless there is // only a single port for the service. Port uint // CertFile is the path to the x509 certificate for https. CertFile string // KeyFile is the path to the x509 private key matching `CertFile`. KeyFile string // HealthCheckInterval configures how frequently the health check // file is updated. Value of zero disables the health check // update. HealthCheckInterval time.Duration // HealthCheckFile specifies the path to the health check file // that is periodically updated. HealthCheckFile string }
WebhookParameters contains the configuration for the Istio Pilot validation admission controller.
Click to show internal directories.
Click to hide internal directories.