From fe5075994225d997aaa4c5a9ef6a6acc445f568e Mon Sep 17 00:00:00 2001 From: George Dobrovolsky Date: Mon, 15 Nov 2021 15:00:56 +0200 Subject: [PATCH] temporarily assign manager a cluster-admin role (#96) --- config/rbac/role_binding.yaml | 2 +- development/cluster/create-env.sh | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/config/rbac/role_binding.yaml b/config/rbac/role_binding.yaml index 2070ede44..5585f21ef 100644 --- a/config/rbac/role_binding.yaml +++ b/config/rbac/role_binding.yaml @@ -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 diff --git a/development/cluster/create-env.sh b/development/cluster/create-env.sh index 47c6a6119..c8165a529 100755 --- a/development/cluster/create-env.sh +++ b/development/cluster/create-env.sh @@ -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 \ No newline at end of file