Commit adcbb896 authored by Geoff Simmons's avatar Geoff Simmons

Bugfix the RoleBinding in helm viking-controller for the namespaced case.

parent cca383a5
{{ if not .Values.vikingController.namespace }}
{{ if .Values.vikingController.namespace }}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
......@@ -13,7 +13,7 @@ subjects:
name: {{ template "viking-controller.fullname" . }}
namespace: {{ .Release.Namespace }}
roleRef:
kind: ClusterRole
kind: Role
name: {{ template "viking-controller.fullname" . }}
apiGroup: rbac.authorization.k8s.io
{{- end }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment