Skip to content

Commit

Permalink
align multicluster service account with istio/installer and istio/ope…
Browse files Browse the repository at this point in the history
…rator (istio#19551)

* align multicluster service account with istio/installer and istio/operator

fixes istio#19546

* re-add istio-multi
  • Loading branch information
ayj authored and istio-testing committed Dec 20, 2019
1 parent c1520ba commit 5cef32d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
15 changes: 15 additions & 0 deletions install/kubernetes/helm/istio/templates/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,18 @@ subjects:
- kind: ServiceAccount
name: istio-multi
namespace: {{ .Release.Namespace }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: istio-reader
labels:
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: istio-reader
subjects:
- kind: ServiceAccount
name: istio-reader
namespace: {{ .Release.Namespace }}
6 changes: 6 additions & 0 deletions install/kubernetes/helm/istio/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ kind: ServiceAccount
metadata:
name: istio-multi
namespace: {{ .Release.Namespace }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: istio-reader
namespace: {{ .Release.Namespace }}

0 comments on commit 5cef32d

Please sign in to comment.