From 71530eb172393a66bc5079d393fc081bf2eb62c7 Mon Sep 17 00:00:00 2001 From: Ryan Greget Date: Tue, 26 Feb 2019 16:47:58 -0700 Subject: [PATCH] Airflow role fix (#11762) * Update to stable/airflow role.yaml to grant permissions needed for airflow xcom_push to stream out of the sidecar. Signed-off-by: Ryan Greget * Version bump. Signed-off-by: Ryan Greget --- stable/airflow/Chart.yaml | 2 +- stable/airflow/templates/role.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/stable/airflow/Chart.yaml b/stable/airflow/Chart.yaml index b769e17fb1..bfa6b9ec5f 100644 --- a/stable/airflow/Chart.yaml +++ b/stable/airflow/Chart.yaml @@ -1,6 +1,6 @@ description: Airflow is a platform to programmatically author, schedule and monitor workflows name: airflow -version: 2.0.1 +version: 2.0.2 appVersion: 1.10.0 icon: https://airflow.apache.org/_images/pin_large.png home: https://airflow.apache.org/ diff --git a/stable/airflow/templates/role.yaml b/stable/airflow/templates/role.yaml index d049c1f922..a1b6714677 100644 --- a/stable/airflow/templates/role.yaml +++ b/stable/airflow/templates/role.yaml @@ -17,4 +17,8 @@ rules: resources: - "pods/log" verbs: ["get", "list"] +- apiGroups: [""] + resources: + - "pods/exec" + verbs: ["create", "get"] {{ end }} \ No newline at end of file