fix(argo): @vladlosev Restores aggregated roles to be ClusterRoles. (#595)
* Restores aggregated roles to be ClusterRoles. Signed-off-by: Vlad Losev <vladimir.losev@sage.com> * Bumps chart version. Signed-off-by: Vlad Losev <vladimir.losev@sage.com>
This commit is contained in:
parent
528b4d054b
commit
0ccdad07ae
2 changed files with 1 additions and 14 deletions
|
|
@ -1,10 +1,5 @@
|
|||
{{- if .Values.createAggregateRoles }}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
{{- if .Values.singleNamespace }}
|
||||
kind: Role
|
||||
{{ else }}
|
||||
kind: ClusterRole
|
||||
{{- end }}
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/hook: pre-install
|
||||
|
|
@ -30,11 +25,7 @@ rules:
|
|||
- watch
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
{{- if .Values.singleNamespace }}
|
||||
kind: Role
|
||||
{{ else }}
|
||||
kind: ClusterRole
|
||||
{{- end }}
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/hook: pre-install
|
||||
|
|
@ -65,11 +56,7 @@ rules:
|
|||
- watch
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
{{- if .Values.singleNamespace }}
|
||||
kind: Role
|
||||
{{ else }}
|
||||
kind: ClusterRole
|
||||
{{- end }}
|
||||
metadata:
|
||||
annotations:
|
||||
helm.sh/hook: pre-install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue