You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/03 15:41:20 UTC

[GitHub] [airflow-on-k8s-operator] CandiedCode opened a new pull request #33: Fix airflow on k8s operator manager role

CandiedCode opened a new pull request #33:
URL: https://github.com/apache/airflow-on-k8s-operator/pull/33


   Updated RBAC for manger-role to address the following error:
   
   The ClusterRole "airflow-on-k8s-operator-manager-role" is invalid: 
   * rules[0].apiGroups: Required value: resource rules must supply at least one api group
   * rules[1].apiGroups: Required value: resource rules must supply at least one api group
   * rules[2].apiGroups: Required value: resource rules must supply at least one api group
   * rules[3].apiGroups: Required value: resource rules must supply at least one api group
   
   You can recreate this by running this locally against 1.16 or 1.19 k8s cluster
   ```shell
   kind create cluster --image=kindest/node:v1.16.15 --name airflow 
   
   kustomize build . | kubectl apply -f-
   ```
   
   Where kustomization.yaml is
   ```yaml
   apiVersion: kustomize.config.k8s.io/v1beta1
   kind: Kustomization
   
   resources:
     - git@github.com:apache/airflow-on-k8s-operator/config/default?ref=master
     ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org