aboutsummaryrefslogtreecommitdiff
path: root/kubernetes/traefik/00-role.yml
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2025-03-24 20:28:59 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2025-03-24 20:28:59 +0100
commit471338b9dd3e3cd255bb9f43d7e7d3754f1b1999 (patch)
treebe5cc13a4fbff492c250c0c3be5a25d98e85c86e /kubernetes/traefik/00-role.yml
parent36943b299a26a94c92dbfa16a11a450b04725da1 (diff)
k8s: add traefik and test app "whoami"
Diffstat (limited to 'kubernetes/traefik/00-role.yml')
-rw-r--r--kubernetes/traefik/00-role.yml59
1 files changed, 59 insertions, 0 deletions
diff --git a/kubernetes/traefik/00-role.yml b/kubernetes/traefik/00-role.yml
new file mode 100644
index 0000000..2362a3b
--- /dev/null
+++ b/kubernetes/traefik/00-role.yml
@@ -0,0 +1,59 @@
+---
+kind: ClusterRole
+apiVersion: rbac.authorization.k8s.io/v1
+metadata:
+ name: traefik-role
+
+rules:
+ - apiGroups:
+ - ""
+ resources:
+ - services
+ - secrets
+ - nodes
+ verbs:
+ - get
+ - list
+ - watch
+ - apiGroups:
+ - discovery.k8s.io
+ resources:
+ - endpointslices
+ verbs:
+ - list
+ - watch
+ - apiGroups:
+ - extensions
+ - networking.k8s.io
+ resources:
+ - ingresses
+ - ingressclasses
+ verbs:
+ - get
+ - list
+ - watch
+ - apiGroups:
+ - extensions
+ - networking.k8s.io
+ resources:
+ - ingresses/status
+ verbs:
+ - update
+ - apiGroups:
+ - traefik.io
+ resources:
+ - middlewares
+ - middlewaretcps
+ - ingressroutes
+ - traefikservices
+ - ingressroutetcps
+ - ingressrouteudps
+ - tlsoptions
+ - tlsstores
+ - serverstransports
+ - serverstransporttcps
+ verbs:
+ - get
+ - list
+ - watch
+...