<p>Our current model is to use init containers to fetch secrets from vault. But When the application crashes due to OOM issues, the pod goes into crashloopback state. Also, we don't want to overload the pod with a sidecar container. Is there any other way to use vault with kubernetes?</p>

Mritunjay Sharma
<p>Yes, you can use Vault without using the side-car container.</p>
<p>You can create a path into the vault and save the key-value pair inside it.</p>
<p>As per requirement use the <strong>KV1</strong> and <strong>KV2</strong></p>
<p>To sync vault values with Kubernetes secret you can use :
<a href="https://github.com/DaspawnW/vault-crd" rel="nofollow noreferrer">https://github.com/DaspawnW/vault-crd</a></p>
<p><strong>Vault CRD</strong> is the custom resource that will sync your vault variables to Kubernetes secret on the specific intervals you define.</p>
<p>Each time new value updated in vault that will sync back to secret and you can inject that secret into deployment or statefulset as per need</p>
