config

package
v0.0.0-...-3a79d8d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookConfig

type WebhookConfig struct {
	TLSPort            int    `long:"port" default:"443" required:"false" description:"webhook server port for mutate endpoint"`
	HTTPPort           int    `long:"http-port" default:"17773" required:"false" description:"webhook server http port for metrics and healthz endpoints"`
	CertFilePath       string `long:"cert-file-path" required:"true" description:"file containing the x509 Certificate for HTTPS"`
	KeyFilePath        string `long:"key-file-path" required:"true" description:"file containing the x509 private key"`
	CaFilePath         string `long:"ca-file-path" required:"false" description:"file containing the CA cert"`
	SidecarConfigFile  string `long:"sidecar-config-file" required:"true" description:"file containing the sidecar container configuration"`
	MutationConfigFile string `long:"mutation-config-file" required:"true" description:"file containing the mutation configuration"`
	BuildInfoLabels    string `long:"build-info-labels" required:"false" description:"additional build info metric labels"`

	// Flag to permit fallback to old, insecure TLS configurations.
	AllowDeprecatedTLSConfig bool `` /* 137-byte string literal not displayed */
}

WebhookConfig is the configuration parameters for the sidecar injector

func NewWebhookConfig

func NewWebhookConfig() (*WebhookConfig, error)

NewWebhookConfig is a constructor for WebhookConfig

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL