hashicorp / vault-k8s

First-class support for Vault and Kubernetes.
Mozilla Public License 2.0
784 stars 171 forks source link

Add native sidecar support #659

Open tvoran opened 2 months ago

tvoran commented 2 months ago

PoC for implementing https://github.com/hashicorp/vault-k8s/issues/620

Adds a new annotation vault.hashicorp.com/agent-native-sidecar to inject Vault Agent as a native sidecar. Adds a startupProbe that looks for /home/vault/.native-sidecar-started, which relies on https://github.com/hashicorp/vault/pull/27582 to place that file once all the templates have been rendered at least once.