From 6655290e3673568e3286e56015eb1f97eee22e14 Mon Sep 17 00:00:00 2001 From: David Young Date: Sat, 19 Dec 2020 15:14:57 +1300 Subject: [PATCH] Tighten cluster admin role --- charts/fission-all/Chart.yaml | 2 +- charts/fission-all/templates/rbac/namespace-isolation.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/fission-all/Chart.yaml b/charts/fission-all/Chart.yaml index cbc4b400c8..3189390e49 100644 --- a/charts/fission-all/Chart.yaml +++ b/charts/fission-all/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: fission-all -version: 1.8.1-pre28 +version: 1.8.1-pre29 description: Fission is a fast serverless framework for Kubernetes. keywords: - fission diff --git a/charts/fission-all/templates/rbac/namespace-isolation.yaml b/charts/fission-all/templates/rbac/namespace-isolation.yaml index a45ad0bc49..973ab15ed5 100644 --- a/charts/fission-all/templates/rbac/namespace-isolation.yaml +++ b/charts/fission-all/templates/rbac/namespace-isolation.yaml @@ -66,6 +66,6 @@ subjects: namespace: {{ .Release.Namespace }} roleRef: kind: ClusterRole - name: fission-cluster-access + name: fission-cluster-access-{{ .Release.Namespace }} apiGroup: rbac.authorization.k8s.io {{- end}} \ No newline at end of file