apache / airflow-on-k8s-operator

Airflow on Kubernetes Operator
https://airflow.apache.org/
Apache License 2.0
89 stars 26 forks source link

Fix airflow on k8s operator manager role #33

Open CandiedCode opened 3 years ago

CandiedCode commented 3 years ago

Updated RBAC for manger-role to address the following error:

The ClusterRole "airflow-on-k8s-operator-manager-role" is invalid:

You can recreate this by running this locally against 1.16 or 1.19 k8s cluster

kind create cluster --image=kindest/node:v1.16.15 --name airflow 

kustomize build . | kubectl apply -f-

Where kustomization.yaml is

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
  - git@github.com:apache/airflow-on-k8s-operator/config/default?ref=master