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
|
||||
resources:
|
||||
- ingressroutes
|
||||
- ingressroutetcps
|
||||
- ingressrouteudps
|
||||
- middlewares
|
||||
- middlewaretcps
|
||||
- traefikservices
|
||||
- serverstransports
|
||||
- serverstransporttcps
|
||||
- tlsoptions
|
||||
- tlsstores
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue