-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sanitize end of line character when loading token from a file #16406
Labels
kind:bug
This is a clearly a bug
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
Are you willing to submit a PR? |
I have just submitted #16407 |
mmenarguezpear
added a commit
to mmenarguezpear/airflow
that referenced
this issue
Jun 11, 2021
This commit addresses apache#16406
fixed by #16407 |
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Mar 10, 2022
… (#16407) This commit addresses apache/airflow#16406 GitOrigin-RevId: 70cfe0135373d1f0400e7d9b275ebb017429794b
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Jun 4, 2022
… (#16407) This commit addresses apache/airflow#16406 GitOrigin-RevId: 70cfe0135373d1f0400e7d9b275ebb017429794b
kosteev
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Jul 10, 2022
… (#16407) This commit addresses apache/airflow#16406 GitOrigin-RevId: 70cfe0135373d1f0400e7d9b275ebb017429794b
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Aug 27, 2022
… (#16407) This commit addresses apache/airflow#16406 GitOrigin-RevId: 70cfe0135373d1f0400e7d9b275ebb017429794b
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Oct 4, 2022
… (#16407) This commit addresses apache/airflow#16406 GitOrigin-RevId: 70cfe0135373d1f0400e7d9b275ebb017429794b
aglipska
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Oct 7, 2022
… (#16407) This commit addresses apache/airflow#16406 GitOrigin-RevId: 70cfe0135373d1f0400e7d9b275ebb017429794b
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Dec 7, 2022
… (#16407) This commit addresses apache/airflow#16406 GitOrigin-RevId: 70cfe0135373d1f0400e7d9b275ebb017429794b
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Jan 27, 2023
… (#16407) This commit addresses apache/airflow#16406 GitOrigin-RevId: 70cfe0135373d1f0400e7d9b275ebb017429794b
kosteev
pushed a commit
to kosteev/composer-airflow-test-copybara
that referenced
this issue
Sep 12, 2024
… (#16407) This commit addresses apache/airflow#16406 GitOrigin-RevId: 70cfe0135373d1f0400e7d9b275ebb017429794b
kosteev
pushed a commit
to kosteev/composer-airflow-test-copybara
that referenced
this issue
Sep 13, 2024
… (#16407) This commit addresses apache/airflow#16406 GitOrigin-RevId: 70cfe0135373d1f0400e7d9b275ebb017429794b
kosteev
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Sep 17, 2024
… (#16407) This commit addresses apache/airflow#16406 GitOrigin-RevId: 70cfe0135373d1f0400e7d9b275ebb017429794b
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apache Airflow version: 2.1.0
Kubernetes version (if you are using kubernetes) (use kubectl version):
Environment: Kubernetes with base image apache/airflow:2.1.0-python3.8
Cloud provider or hardware configuration: bare metal k8s in AWS EC2
OS (e.g. from /etc/os-release):
Install tools:
Others:
What happened:
While reading the vault token through
token_path
parameter injected by vault sidecar on an operator run to load connections, the process fails with the following stacktrace due to the end of line \n character not being stripped correctly.What you expected to happen: Vault backend plugin should read the file and strip whitespaces and end of line characters
How to reproduce it:
Set up vault injection, replace the service account by the one generated, then add Helm chart values (specific):
Anything else we need to know: to resolve it is as easy as add a .strip() here
so
The text was updated successfully, but these errors were encountered: