From 471338b9dd3e3cd255bb9f43d7e7d3754f1b1999 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Mon, 24 Mar 2025 20:28:59 +0100 Subject: k8s: add traefik and test app "whoami" --- kubernetes/traefik/00-role.yml | 59 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 kubernetes/traefik/00-role.yml (limited to 'kubernetes/traefik/00-role.yml') 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 +... -- cgit v1.2.3