You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/08 19:06:47 UTC

[GitHub] [airflow] EliMor edited a comment on issue #17489: Helm chart converts ' ' to '+' in passwords due to urlJoin helm function

EliMor edited a comment on issue #17489:
URL: https://github.com/apache/airflow/issues/17489#issuecomment-894841242


   Hi people! 
   
   I thought it was strange that it was encoded as '+' as well!! 
   
   Here's a more clear example...
   
   If I have in my values.yaml file:
   ```
     metadataConnection:
       user: airflow
       pass: top secret password
       protocol: postgresql
       host: fakedb.us-west-2.rds.amazonaws.com
       port: 5432
       db: postgres
       sslmode: disable
   ```
   
   Here's how we get rendered in the Secret (base64 decoded)
   ```
   postgresql://airflow:top+secret+password@fakedb.us-west-2.rds.amazonaws.com:5432/postgres?sslmode=disable
   ```
   
   This will result in a connection error unless I manually update the secret to:
   ```
   postgresql://airflow:top secret password@fakedb.us-west-2.rds.amazonaws.com:5432/postgres?sslmode=disable
   ```
   
   Strange no?! 
   
   No big on my end to just not have spaces. :D


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org