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 ¶
func (*PodCaddyInjector) InjectDecoder ¶
func (c *PodCaddyInjector) InjectDecoder(d *admission.Decoder) error
Click to show internal directories.
Click to hide internal directories.