Skip to content

Commit

Permalink
Merge pull request #190 from cliveseldon/helm_ambassador_fix
Browse files Browse the repository at this point in the history
Remove ambassador role and rolebinding from helm script
  • Loading branch information
ukclivecox authored Jul 12, 2018
2 parents 75a3555 + 43bed7e commit 2200512
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helm-charts/seldon-core/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ subjects:
- kind: ServiceAccount
name: {{ .Values.rbac.service_account.name }}
namespace: {{ .Release.Namespace }}
{{- if .Values.ambassador.enabled }}
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
Expand Down Expand Up @@ -94,6 +95,7 @@ roleRef:
subjects:
- kind: ServiceAccount
name: {{ .Values.rbac.service_account.name }}
namespace: {{ .Release.Namespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 2200512

Please sign in to comment.