Skip to content

Commit

Permalink
temporarily assign manager a cluster-admin role (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
dobegor authored Nov 15, 2021
1 parent 9c0d130 commit fe50759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/rbac/role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: manager-role
name: cluster-admin
subjects:
- kind: ServiceAccount
name: controller-manager
Expand Down
8 changes: 1 addition & 7 deletions development/cluster/create-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,4 @@ SHELL=/bin/bash
eval $(minikube docker-env --profile "kgw")
make docker-build deploy

kubectl rollout status -w deployment/kusk-controller-manager -n kusk-system

external_ip=""; while [ -z $external_ip ]; do echo "Waiting for end point..."; external_ip=$(kubectl -n kusk-system get svc kusk-envoy --template="{{range .status.loadBalancer.ingress}}{{.ip}}{{end}}"); [ -z "$external_ip" ] && sleep 10; done; echo "End point ready-" && echo http://$external_ip:8080; export endpoint=$external_ip

echo "Try running:"
echo "kubectl apply -f examples/httpbin && kubectl rollout status -w deployment/httpbin"
echo "curl -v http://$external_ip:8080/get"
kubectl rollout status -w deployment/kusk-controller-manager -n kusk-system

0 comments on commit fe50759

Please sign in to comment.