16 lines
441 B
YAML
16 lines
441 B
YAML
|
|
{{- if .Values.server.extensions.enabled }}
|
||
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
|
kind: RoleBinding
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||
|
|
name: argocd-server-extensions
|
||
|
|
roleRef:
|
||
|
|
apiGroup: rbac.authorization.k8s.io
|
||
|
|
kind: Role
|
||
|
|
name: argocd-server-extensions
|
||
|
|
subjects:
|
||
|
|
- kind: ServiceAccount
|
||
|
|
name: argocd-server
|
||
|
|
{{- end }}
|