From 984f24f13f440946666a79359b41ffec27971cbe Mon Sep 17 00:00:00 2001 From: Chaoran Yu Date: Wed, 6 Feb 2019 11:11:25 -0500 Subject: [PATCH] Added permissions to handle ingress (#11177) Signed-off-by: Chaoran Yu Signed-off-by: Samir Musali --- incubator/sparkoperator/Chart.yaml | 2 +- incubator/sparkoperator/templates/spark-operator-rbac.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/incubator/sparkoperator/Chart.yaml b/incubator/sparkoperator/Chart.yaml index e02fcf4152bf..9d57ec35f3ba 100644 --- a/incubator/sparkoperator/Chart.yaml +++ b/incubator/sparkoperator/Chart.yaml @@ -1,6 +1,6 @@ name: sparkoperator description: A Helm chart for Spark on Kubernetes operator -version: 0.1.7 +version: 0.1.8 appVersion: v1beta1-0.7-2.4.0 kubeVersion: ">=1.8.0-0" keywords: diff --git a/incubator/sparkoperator/templates/spark-operator-rbac.yaml b/incubator/sparkoperator/templates/spark-operator-rbac.yaml index 3ff3f9ae1226..bd5fd3febfde 100644 --- a/incubator/sparkoperator/templates/spark-operator-rbac.yaml +++ b/incubator/sparkoperator/templates/spark-operator-rbac.yaml @@ -15,6 +15,9 @@ rules: - apiGroups: [""] resources: ["services", "configmaps", "secrets"] verbs: ["create", "get", "delete"] +- apiGroups: ["extensions"] + resources: ["ingresses"] + verbs: ["create", "get", "delete"] - apiGroups: [""] resources: ["nodes"] verbs: ["get"]