mirror of
				https://github.com/traefik/traefik.git
				synced 2025-10-31 16:31:16 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			51 lines
		
	
	
		
			880 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			880 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| apiVersion: rbac.authorization.k8s.io/v1
 | |
| kind: ClusterRole
 | |
| metadata:
 | |
|   name: knative-networking-role
 | |
| rules:
 | |
|   - apiGroups:
 | |
|       - ""
 | |
|     resources:
 | |
|       - services
 | |
|     verbs:
 | |
|       - get
 | |
|       - list
 | |
|       - watch
 | |
|   - apiGroups:
 | |
|       - ""
 | |
|     resources:
 | |
|       - secrets
 | |
|     verbs:
 | |
|       - get
 | |
|       - list
 | |
|       - watch
 | |
|   - apiGroups:
 | |
|       - networking.internal.knative.dev
 | |
|     resources:
 | |
|       - ingresses
 | |
|     verbs:
 | |
|       - get
 | |
|       - list
 | |
|       - watch
 | |
|   - apiGroups:
 | |
|       - networking.internal.knative.dev
 | |
|     resources:
 | |
|       - ingresses/status
 | |
|     verbs:
 | |
|       - update
 | |
| 
 | |
| ---
 | |
| apiVersion: rbac.authorization.k8s.io/v1
 | |
| kind: ClusterRoleBinding
 | |
| metadata:
 | |
|   name: gateway-controller
 | |
| roleRef:
 | |
|   apiGroup: rbac.authorization.k8s.io
 | |
|   kind: ClusterRole
 | |
|   name: knative-networking-role
 | |
| subjects:
 | |
|   - kind: ServiceAccount
 | |
|     name: traefik-controller
 | |
|     namespace: default
 |