webhook

package
v0.0.0-...-e061e1a Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// InjectAnnotation instructs to inject a caddy sidecar into the spec based on
	// other present annotations.
	InjectAnnotation = "caddy.io/inject"

	// DNSNamesAnnotation defines the DNS name(s) to use for the TLS certificates.
	DNSNamesAnnotation = "caddy.io/dns-names"

	// CertManagerIssuerAnnotation defines an Issuer (in the same namespace as the pod)
	// to use to generate the TLS certificate.
	CertManagerIssuerAnnotation = "caddy.io/issuer"

	// CertManagerClusterIssuerAnnotation defines a ClusterIssuer to use to generate
	// the TLS certificate.
	CertManagerClusterIssuerAnnotation = "caddy.io/cluster-issuer"

	// HTTPPortAnnotation can be used to explicitly set the HTTP port on the pod if it can not be
	// determined automatically.
	HTTPPortAnnotation = "caddy.io/http-port"

	// HTTPSPortAnnotation is used to set the port that caddy should listen on inside the pod.
	// Defaults to `2015`.
	HTTPSPortAnnotation = "caddy.io/https-port"

	// InlineCaddyfileAnnotation defines an inline Caddyfile to use to configure caddy.
	InlineCaddyfileAnnotation = "caddy.io/caddyfile-inline-template"

	// CaddyfileTemplateAnnotation defines a CaddyfileTemplate to use for configuring caddy.
	CaddyfileTemplateAnnotation = "caddy.io/caddyfile-template"
)

Pod annotations used for configuring the webhook action

Variables

This section is empty.

Functions

This section is empty.

Types

type PodCaddyInjector

type PodCaddyInjector struct {
	client.Client
	// contains filtered or unexported fields
}

func (*PodCaddyInjector) Handle

func (*PodCaddyInjector) InjectDecoder

func (c *PodCaddyInjector) InjectDecoder(d *admission.Decoder) error

Jump to

Keyboard shortcuts

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