diff --git a/charts/fission-all/Chart.yaml b/charts/fission-all/Chart.yaml index 3189390e49..de1d9f15c2 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-pre29 +version: 1.8.1-pre30 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 973ab15ed5..0b45b9ac2f 100644 --- a/charts/fission-all/templates/rbac/namespace-isolation.yaml +++ b/charts/fission-all/templates/rbac/namespace-isolation.yaml @@ -12,7 +12,7 @@ rules: kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: - name: fission-namespace-admin + name: fission-namespace-k8s-admin namespace: {{ .Release.Namespace }} subjects: - kind: ServiceAccount @@ -22,6 +22,19 @@ roleRef: name: admin apiGroup: rbac.authorization.k8s.io --- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: fission-namespace-admin + namespace: {{ .Release.Namespace }} +subjects: +- kind: ServiceAccount + name: fission-svc +roleRef: + kind: Role + name: fission-namespace-admin + apiGroup: rbac.authorization.k8s.io +--- # The fission controller needs to look at the CRDs kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1beta1