Documentation
¶
Overview ¶
Package cainjector contains opt-in controllers that populate the caBundle fields of injectable Kubernetes resources (ValidatingWebhookConfiguration, MutatingWebhookConfiguration, CustomResourceDefinition conversion webhooks and APIServices) from a CA source driven by annotations. It is the controller-manager-library (CML) based port of the certman2 CA injector.
Index ¶
Constants ¶
View Source
const ( // AnnotationInjectCAFrom is set on an injectable resource to inject the CA bundle taken from the // secret of the referenced certificate. Value format: "<namespace>/<certificate-name>". AnnotationInjectCAFrom = "cert.gardener.cloud/inject-ca-from" // AnnotationInjectCAFromSecret is set on an injectable resource to inject the CA bundle taken // directly from the referenced secret. Value format: "<namespace>/<secret-name>". The referenced // secret must carry the AnnotationAllowDirectInjection annotation set to "true". AnnotationInjectCAFromSecret = "cert.gardener.cloud/inject-ca-from-secret" // #nosec G101 -- not a credential, this is a Kubernetes annotation key // AnnotationAllowDirectInjection must be set to "true" on a secret to allow direct CA injection // via AnnotationInjectCAFromSecret. AnnotationAllowDirectInjection = "cert.gardener.cloud/allow-direct-injection" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.