Lukas Novotny
01/21/2022, 11:24 AMactor
table. Are we missing some trivial config that switches to a different secret store? Can we load secrets from environment variables?Jens
01/21/2022, 1:29 PMAnouar Hnini
01/21/2022, 3:45 PM/kube/overlays/stable/.env
like so
SECRET_PERSISTENCE_TYPE=GOOGLE_SECRET_MANAGER
And I verified by looking at the ConfigMap in GKE that the value is set.
However no secrets seem to be created in my GSM and the server logs are still saying
2022-01-23 15:35:52 [32mINFO[m i.a.c.EnvConfigs(getEnvOrDefault):596 - Using default value for environment variable SECRET_PERSISTENCE: 'NONE'
2022-01-23 15:35:52 [32mINFO[m i.a.c.EnvConfigs(getEnvOrDefault):596 - Using default value for environment variable SECRET_PERSISTENCE: 'NONE'
2022-01-23 15:35:52 [32mINFO[m i.a.c.EnvConfigs(getEnvOrDefault):596 - Using default value for environment variable SECRET_PERSISTENCE: 'NONE'
So looks like it’s not picking up the env var correctly?
Or do I need set all of the variables defined in the doc you linked? I currently just set the SECRET_PERSISTENCE_TYPE
Edit: I tried setting all of them but still getting the same result.env
file, the server logs will still show Airbyte choosing the default value (even when the ConfigMap reflects the value in the .envYashasvi Chaudhary
01/24/2022, 4:00 PMSECRET_STORE_GCP_CREDENTIALS
in the .secrets kustomize env file? @[DEPRECATED] Augustin LafanechereSECRET_PERSISTENCE_TYPE
however, the code expects SECRET_PERSISTENCE
https://github.com/airbytehq/airbyte/blob/5a091b12460ec6773c5655e3cae63248ad5cea86[…]e-config/models/src/main/java/io/airbyte/config/EnvConfigs.javaSECRET_PERSISTENCE
instead. So even working around that bug, the above still happens which I think is a separate bugEugene Krall
01/25/2022, 10:02 AMElias Djurfeldt
01/26/2022, 9:58 PMJens
01/27/2022, 9:34 AMDaniele
01/27/2022, 6:23 PMPing-Lin Chang
01/28/2022, 10:08 AM0.35.6-alpha