mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 23:59:53 +00:00
stop logging in to ziti and always run in container
This commit is contained in:
@@ -694,13 +694,6 @@ main(){
|
||||
## Ensure OpenZiti Router is Enrolled and Ready
|
||||
#
|
||||
|
||||
logDebug "fetching admin password from k8s secret to log in to ziti mgmt"
|
||||
getAdminSecret | xargs ziti edge login "miniziti-controller.${MINIZITI_INGRESS_ZONE}:443" \
|
||||
--yes \
|
||||
--cli-identity "$MINIKUBE_PROFILE" \
|
||||
--username "admin" \
|
||||
--password >&3
|
||||
|
||||
logInfo "Setting default ziti identity to: $MINIKUBE_PROFILE"
|
||||
ziti_wrapper edge use "$MINIKUBE_PROFILE" >&3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user