SamWheating commented on issue #37776:
URL: https://github.com/apache/airflow/issues/37776#issuecomment-1970134612

   I think that this is because you're using `chart/values.yaml` from `main` 
while using the latest release of the chart, which is ~3 weeks old and doesn't 
include those fields.
   
   If you use [the values file from the `helm-chart/1.12.0` release 
](https://github.com/apache/airflow/blob/helm-chart/1.12.0/chart/values.yaml) 
then the issue will resolve itself.
   
   Reproduced and validated the fix like so:
   ```
   > git checkout main
   > helm template airflow apache-airflow/airflow -f chart/values.yaml 
   Error: values don't meet the specifications of the schema(s) in the 
following chart(s):
   airflow:
   - migrateDatabaseJob: Additional property labels is not allowed
   - flower: Additional property readinessProbe is not allowed
   - flower: Additional property livenessProbe is not allowed
   
   > git checkout helm-chart/1.12.0
   > helm template airflow apache-airflow/airflow -f chart/values.yaml 
   
   ---
   # Source: airflow/templates/jobs/create-user-job-serviceaccount.yaml
   ###########################################
   ## Airflow Create User Job ServiceAccount
   ###########################################
   apiVersion: v1
   kind: ServiceAccount
   automountServiceAccountToken: true
   metadata:
     name: airflow-create-user-job
     ....
   ```


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