Add missing Traefik CRD permissions to pangolin-controller RBAC
Extend ClusterRole to include all Traefik CRDs that the controller manages: - serverstransports, serverstransporttcps (for transport configuration) - ingressroutetcps, ingressrouteudps (for TCP/UDP routing) - middlewaretcps (for TCP middleware) - tlsoptions, tlsstores (for TLS configuration) This fixes the RBAC permission error preventing the controller from reconciling Traefik configuration: "serverstransports.traefik.io is forbidden: User \"system:serviceaccount:pangolin:pangolin-controller\" cannot list resource \"serverstransports\"" Related: DEV-437 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
22823ba599
commit
9b1af12d1b
1 changed files with 7 additions and 0 deletions
|
|
@ -31,8 +31,15 @@ rules:
|
||||||
- traefik.io
|
- traefik.io
|
||||||
resources:
|
resources:
|
||||||
- ingressroutes
|
- ingressroutes
|
||||||
|
- ingressroutetcps
|
||||||
|
- ingressrouteudps
|
||||||
- middlewares
|
- middlewares
|
||||||
|
- middlewaretcps
|
||||||
- traefikservices
|
- traefikservices
|
||||||
|
- serverstransports
|
||||||
|
- serverstransporttcps
|
||||||
|
- tlsoptions
|
||||||
|
- tlsstores
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue