1
0
mirror of https://github.com/teamserverless/k8s-on-raspbian.git synced 2024-10-05 18:30:51 +01: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:
Alex Ellis 2019-01-01 18:01:09 +00:00
parent e3e1984e0e
commit 9d91990a88

View File

@ -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
kind: ClusterRoleBinding
metadata:
name: kubernetes-dashboard
name: kubernetes-dashboard-head
labels:
k8s-app: kubernetes-dashboard
k8s-app: kubernetes-dashboard-head
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: kubernetes-dashboard
name: kubernetes-dashboard-head
namespace: kube-system' | kubectl apply -f -
```