Skip to content

Commit

Permalink
Merge pull request #6 from adRise/yujiayang/ch221983/bug/airflow-k8s-…
Browse files Browse the repository at this point in the history
…run-task-manually-not-working

[airflow] Add airflow-webserver to pod-lancher rolebindings
  • Loading branch information
yogyang authored May 20, 2021
2 parents fa8ca81 + 105dea3 commit 4af0922
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
Binary file added charts/airflow-2.0.1-1.tgz
Binary file not shown.
Binary file removed charts/airflow-2.0.1.tgz
Binary file not shown.
14 changes: 7 additions & 7 deletions charts/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@ apiVersion: v1
entries:
airflow:
- apiVersion: v1
created: "2021-04-14T16:48:33.90349+08:00"
created: "2021-05-20T15:55:08.050564+08:00"
dependencies:
- condition: postgresql.enabled
name: postgresql
repository: '@stable'
version: 6.3.12
description: Helm chart to deploy Apache Airflow
digest: b002fe24968034ccbc42ac903370bd8855bab0b59ad073dbfae09b7813a02a33
digest: d902cb6f4622a80cdbc09beef3c55648cb277bd19c7b2c62c7eb4e397c0faf55
icon: https://airflow.apache.org/docs/apache-airflow/stable/_images/pin_large.png
keywords:
- airflow
name: airflow
urls:
- https://adrise.github.io/helm-charts/charts/airflow-2.0.1.tgz
version: 2.0.1
- https://adrise.github.io/helm-charts/charts/airflow-2.0.1-1.tgz
version: 2.0.1-1
consul:
- apiVersion: v1
appVersion: 1.7.2
created: "2021-04-14T16:48:33.907362+08:00"
created: "2021-05-20T15:55:08.054689+08:00"
description: Official HashiCorp Consul Chart
digest: e1c53fdf8644c271f047ac9c04794093cfd7fb245fd4a6b10c107a8ad659a227
home: https://www.consul.io
Expand All @@ -35,7 +35,7 @@ entries:
kiam:
- apiVersion: v1
appVersion: "3.6"
created: "2021-04-14T16:48:33.909183+08:00"
created: "2021-05-20T15:55:08.056848+08:00"
description: Integrate AWS IAM with Kubernetes
digest: b9b5aebd45f23bfec156791680ef79e338eca1164fd8c2c15c7c67eb1469e128
home: https://github.com/uswitch/kiam
Expand All @@ -54,4 +54,4 @@ entries:
urls:
- https://adrise.github.io/helm-charts/charts/kiam-5.10.0-1.tgz
version: 5.10.0-1
generated: "2021-04-14T16:48:33.896366+08:00"
generated: "2021-05-20T15:55:08.041153+08:00"
12 changes: 12 additions & 0 deletions patches/airflow.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/chart/templates/rbac/pod-launcher-rolebinding.yaml b/chart/templates/rbac/pod-launcher-rolebinding.yaml
index 6b44f5060..ddfb8edc6 100644
--- a/chart/templates/rbac/pod-launcher-rolebinding.yaml
+++ b/chart/templates/rbac/pod-launcher-rolebinding.yaml
@@ -59,4 +59,7 @@ subjects:
name: {{ .Release.Name }}-worker
namespace: {{ .Release.Namespace }}
{{- end }}
+ - kind: ServiceAccount
+ name: {{ .Release.Name }}-webserver
+ namespace: {{ .Release.Namespace }}
{{- end }}

0 comments on commit 4af0922

Please sign in to comment.