<p>I'm trying to inject my secrets from Google Secret Manager into Kubernetes Pod as environment variable.</p>
<p>I need put it as environment variable to my NodeJS application can read it.</p>
<p>I tried the solution from <a href="https://stackoverflow.com/questions/63923379/how-to-inject-secret-from-google-secret-manager-into-kubernetes-pod-as-environme">How to inject secret from Google Secret Manager into Kubernetes Pod as environment variable?</a> but not work for me.</p>
<p>Also I tried to setup a init container but it put the secrets as files into the pod.</p>
<p>Any idea?</p>
<p>Thanks</p>

<p>Checkout <a href="https://github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp" rel="nofollow noreferrer">https://github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp</a>. It's a CSI driver for mounting Secret Manager secrets.</p>
