24 lines
513 B
YAML
24 lines
513 B
YAML
# permissions for end users to view tunnels.
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
labels:
|
|
{{- include "kubernetes-ingress-controller.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: rbac
|
|
name: {{ include "kubernetes-ingress-controller.fullname" . }}-tunnel-viewer-role
|
|
rules:
|
|
- apiGroups:
|
|
- ingress.k8s.ngrok.com
|
|
resources:
|
|
- tunnels
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- ingress.k8s.ngrok.com
|
|
resources:
|
|
- tunnels/status
|
|
verbs:
|
|
- get
|