mirror of
				https://github.com/teamserverless/k8s-on-raspbian.git
				synced 2025-11-03 23:41:22 +00:00 
			
		
		
		
	Update service role to use -head deployment
The regular deployment is erroring with image not found. These instructions were tested on a local RPi cluster. Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
		
							
								
								
									
										6
									
								
								GUIDE.md
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								GUIDE.md
									
									
									
									
									
								
							@@ -313,16 +313,16 @@ The dashboard can be useful for visualising the state and health of your system,
 | 
				
			|||||||
echo -n 'apiVersion: rbac.authorization.k8s.io/v1beta1
 | 
					echo -n 'apiVersion: rbac.authorization.k8s.io/v1beta1
 | 
				
			||||||
kind: ClusterRoleBinding
 | 
					kind: ClusterRoleBinding
 | 
				
			||||||
metadata:
 | 
					metadata:
 | 
				
			||||||
  name: kubernetes-dashboard
 | 
					  name: kubernetes-dashboard-head
 | 
				
			||||||
  labels:
 | 
					  labels:
 | 
				
			||||||
    k8s-app: kubernetes-dashboard
 | 
					    k8s-app: kubernetes-dashboard-head
 | 
				
			||||||
roleRef:
 | 
					roleRef:
 | 
				
			||||||
  apiGroup: rbac.authorization.k8s.io
 | 
					  apiGroup: rbac.authorization.k8s.io
 | 
				
			||||||
  kind: ClusterRole
 | 
					  kind: ClusterRole
 | 
				
			||||||
  name: cluster-admin
 | 
					  name: cluster-admin
 | 
				
			||||||
subjects:
 | 
					subjects:
 | 
				
			||||||
- kind: ServiceAccount
 | 
					- kind: ServiceAccount
 | 
				
			||||||
  name: kubernetes-dashboard
 | 
					  name: kubernetes-dashboard-head
 | 
				
			||||||
  namespace: kube-system' | kubectl apply -f -
 | 
					  namespace: kube-system' | kubectl apply -f -
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user