dobsontom commented on issue #50538:
URL: https://github.com/apache/airflow/issues/50538#issuecomment-3001659949

   **Helm 1.17.0 / Airflow 3.0.2**
   
   * **Crash 1**  
     `Error: couldn't find key jwt_secret in Secret <ns>/airflow-jwt-secret`
   * **After renaming**  
     Same message, but for `jwt-secret`.
   
   | Chart code path | Key it expects |
   |-----------------|----------------|
   | `templates/secrets/jwt-secret.yaml` (PR #51799 “Always deploy jwt secret”) 
| **jwt-secret** |
   | Env-var helper that mounts the file (PR #49923 “Generate JWT secret during 
HELM install”) | **jwt_secret** |
   
   Airflow itself looks for the underscore version (`[api_auth] jwt_secret`).  
   Packaging two copies of the value in the Secret—
   
   ```yaml
   data:
     jwt_secret:  <value>
     jwt-secret:  <same value>
   ```
   —unblocks the cluster, but the chart really needs to normalise on a single 
name.
   
   Hope this helps triage!


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

Reply via email to