forked from argoproj/argo-helm
fix(argo): Restore cluster template role binding to be ClusterRoleBinding. (#593)
Signed-off-by: Vlad Losev <vladimir.losev@sage.com>main
parent
03cd06d6ee
commit
556011dd4d
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v2.12.5
|
appVersion: v2.12.5
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
name: argo
|
name: argo
|
||||||
version: 0.16.2
|
version: 0.16.3
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -31,20 +31,12 @@ subjects:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
{{- if .Values.singleNamespace }}
|
|
||||||
kind: RoleBinding
|
|
||||||
{{ else }}
|
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
{{- end }}
|
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-{{ .Values.controller.name }}-cluster-template
|
name: {{ .Release.Name }}-{{ .Values.controller.name }}-cluster-template
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
{{- if .Values.singleNamespace }}
|
|
||||||
kind: Role
|
|
||||||
{{ else }}
|
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
{{- end }}
|
|
||||||
name: {{ .Release.Name }}-{{ .Values.controller.name }}-cluster-template
|
name: {{ .Release.Name }}-{{ .Values.controller.name }}-cluster-template
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
|
|
Loading…
Reference in New Issue