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/03 21:25:00 UTC

[GitHub] [airflow] smythie86 commented on issue #17398: With Helm Chart, get CSRF error if setting webserver.replicas > 1

smythie86 commented on issue #17398:
URL: https://github.com/apache/airflow/issues/17398#issuecomment-892176505


   Yes, I confirmed that I am running 1.1.0, and that the AIRFLOW__WEBSERVER__SECRET_KEY env variable is set.
   
   After more digging, I discovered that this bug doesn't happen on a helm install, only on a helm-upgrade.
   
   To reproduce: Run helm install for the airflow chart. Once the chart is deployed, increase the replicas count for webserver, and run helm upgrade. You will then receive this error.
   
   It seems to me that the webserver-secret-key secret is also updated, and an additional webserver pod will be started. However, since the older webserver pod was not restarted, it will have the old value of the secret, and will be out of sync with the value of the secret and the new webserver pods.


-- 
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