-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
area:helm-chartAirflow Helm ChartAirflow Helm Chartkind:featureFeature RequestsFeature Requestsneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet
Description
Description
Currently the schema for gitSync.env does not allow you to define env from secrets like:
env:
- name: GIT_SYNC_USERNAME
valueFrom:
secretKeyRef:
name: gitsync-secret
key: username
- name: GITSYNC_USERNAME
valueFrom:
secretKeyRef:
name: gitsync-secret
key: username
- name: GIT_SYNC_PASSWORD
valueFrom:
secretKeyRef:
name: gitsync-secret
key: pwd
- name: GITSYNC_PASSWORD
valueFrom:
secretKeyRef:
name: gitsync-secret
key: pwd
This is because the schema is overly restrictive and doesn't just reference the upstream V1EnvVar. See: https://github.com/apache/airflow/blob/main/chart/values.schema.json#L8557-L8583
Use case/motivation
No response
Related issues
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area:helm-chartAirflow Helm ChartAirflow Helm Chartkind:featureFeature RequestsFeature Requestsneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet