mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/airflow] added option to specify git-clone initContainer custom resources (#22297)
Signed-off-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch> fixed indentation of values.yaml Signed-off-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch> Co-authored-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>
This commit is contained in:
co-authored by
Joshua Leuenberger
parent
bb503e51e0
commit
414eefc47c
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Airflow is a platform to programmatically author, schedule and monitor workflows
|
||||
name: airflow
|
||||
version: 6.9.3
|
||||
version: 6.9.4
|
||||
appVersion: 1.10.4
|
||||
icon: https://airflow.apache.org/_images/pin_large.png
|
||||
home: https://airflow.apache.org/
|
||||
|
||||
@@ -544,6 +544,7 @@ The following table lists the configurable parameters of the Airflow chart and t
|
||||
| `dags.initContainer.installRequirements` | auto install requirements.txt deps | `true` |
|
||||
| `dags.initContainer.mountPath` | Mountpath inside init container for dags | `/dags` |
|
||||
| `dags.initContainer.syncSubPath` | Path inside init container used to sync/clone git repo to; appended to `dags.initContainer.mountPath` | `` |
|
||||
| `dags.initContainer.resources` | custom resource configuration for the git-clone initContainer | `{}` |
|
||||
| `dags.git.url` | url to clone the git repository | nil |
|
||||
| `dags.git.ref` | branch name, tag or sha1 to reset to | `master` |
|
||||
| `dags.git.secret` | name of a secret containing an ssh deploy key | nil |
|
||||
|
||||
@@ -107,7 +107,7 @@ spec:
|
||||
env:
|
||||
{{- include "airflow.mapenvsecrets" . | indent 10 }}
|
||||
resources:
|
||||
{{ toYaml .Values.scheduler.resources | indent 12 }}
|
||||
{{ toYaml .Values.dags.initContainer.resources | indent 12 }}
|
||||
command:
|
||||
- /usr/local/git/git-clone.sh
|
||||
args:
|
||||
|
||||
@@ -85,7 +85,7 @@ spec:
|
||||
env:
|
||||
{{- include "airflow.mapenvsecrets" . | indent 10 }}
|
||||
resources:
|
||||
{{ toYaml .Values.web.resources | indent 12 }}
|
||||
{{ toYaml .Values.dags.initContainer.resources | indent 12 }}
|
||||
command:
|
||||
- /usr/local/git/git-clone.sh
|
||||
args:
|
||||
|
||||
@@ -87,7 +87,7 @@ spec:
|
||||
env:
|
||||
{{- include "airflow.mapenvsecrets" . | indent 10 }}
|
||||
resources:
|
||||
{{ toYaml .Values.workers.resources | indent 12 }}
|
||||
{{ toYaml .Values.dags.initContainer.resources | indent 12 }}
|
||||
command:
|
||||
- /usr/local/git/git-clone.sh
|
||||
args:
|
||||
|
||||
@@ -622,6 +622,8 @@ dags:
|
||||
## Path to add to `mountPath` where we clone/sync git to. Include leading /
|
||||
## example: "/subdirWithDags"
|
||||
syncSubPath: ""
|
||||
## Custom resource configuration
|
||||
resources: {}
|
||||
|
||||
##
|
||||
## Configure logs
|
||||
|
||||
Reference in New Issue
Block a user