[stable/airflow] Added resources limit to git-clone initcontainer (#22274)

Signed-off-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>

Co-authored-by: Joshua Leuenberger <joshua.leuenberger@bedag.ch>
This commit is contained in:
Yehlo
2020-05-06 06:31:09 -07:00
committed by GitHub
co-authored by Joshua Leuenberger
parent 5597f26968
commit c5283c7aa8
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Airflow is a platform to programmatically author, schedule and monitor workflows
name: airflow
version: 6.9.1
version: 6.9.2
appVersion: 1.10.4
icon: https://airflow.apache.org/_images/pin_large.png
home: https://airflow.apache.org/
@@ -106,6 +106,8 @@ spec:
name: "{{ template "airflow.fullname" . }}-env"
env:
{{- include "airflow.mapenvsecrets" . | indent 10 }}
resources:
{{ toYaml .Values.scheduler.resources | indent 12 }}
command:
- /usr/local/git/git-clone.sh
args:
@@ -84,6 +84,8 @@ spec:
name: "{{ template "airflow.fullname" . }}-env"
env:
{{- include "airflow.mapenvsecrets" . | indent 10 }}
resources:
{{ toYaml .Values.web.resources | indent 12 }}
command:
- /usr/local/git/git-clone.sh
args:
@@ -86,6 +86,8 @@ spec:
name: "{{ template "airflow.fullname" . }}-env"
env:
{{- include "airflow.mapenvsecrets" . | indent 10 }}
resources:
{{ toYaml .Values.workers.resources | indent 12 }}
command:
- /usr/local/git/git-clone.sh
args: