0

I have a private Cloud Composer 1(Airflow 2) cluster. I can mount a GKE Secret as a file with KubernetesPodOperator. It gives me overhead of deploying secrets to Kubernetes directly, which I wouldn't prefer.

But I couldn't find a way to mount a secret from Google Secret Manager to KubernetesPodOperator.

Do you know how to mount Secret Manager secret to a KubernetesPodOperator?

JSBach
  • 447
  • 1
  • 6
  • 13

1 Answers1

1

Your best bet is to use https://github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp to mount secrets as files from Secret Manager.

Sandro B
  • 315
  • 1
  • 3