gbazad93 commented on issue #44621:
URL: https://github.com/apache/airflow/issues/44621#issuecomment-2515703340
It seems the log groomer sidecars aren't picking up the necessary
environment variables for the Vault secret backend, particularly
AIRFLOW__SECRETS__BACKEND_KWARGS. Since sidecars run in separate containers,
they might not inherit the env vars you've set elsewhere.
I believe you can fix this by adding the required environment variables
directly to the log groomer sidecar configuration in your Helm chart. Try
adding the following to your values.yaml:
```bash
logGroomerSidecar:
enabled: true
extraEnv:
- name: AIRFLOW__SECRETS__BACKEND
value: custom_providers.vault_secret.VaultSecret
- name: AIRFLOW__SECRETS__BACKEND_KWARGS
value: '{"connections_path": "airflow/connections", "mount_point":
null, "url": "vault.vault.svc.cluster.local", "auth_type": "aws_iam"}'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]