blob: 1bd2b95dee44c78618fef655c873e11b3347b07f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{{- if .Values.rbac.create }}
{{- if .Values.settings.integrations.knative.enabled }}
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: gloo-role-knative
labels:
app: gloo
gloo: rbac
rules:
- apiGroups: [""]
resources: ["pods", "services", "secrets", "endpoints", "configmaps"]
verbs: ["*"]
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get", "list", "watch"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "create"]
- apiGroups: ["gloo.solo.io"]
resources: ["settings", "upstreams","upstreamgroups", "proxies","virtualservices"]
verbs: ["*"]
- apiGroups: ["networking.internal.knative.dev"]
resources: ["clusteringresses"]
verbs: ["get", "list", "watch"]
{{- end -}}
{{- end -}}
|