fix: set new URLs for set-ssh-tunnel script
This commit is contained in:
parent
b53bffbcd6
commit
ce5a7d05ac
3 changed files with 9 additions and 6 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -4,3 +4,6 @@
|
|||
__pycache__
|
||||
*.pyc
|
||||
.DS_Store
|
||||
*.swp
|
||||
.envrc
|
||||
.direnv
|
||||
|
|
|
@ -33,6 +33,6 @@ export HYDRA_PUBLIC_URL="https://sso.init.stackspin.net"
|
|||
export HYDRA_ADMIN_URL=http://localhost:4445
|
||||
export LOGIN_PANEL_URL=http://localhost/web/
|
||||
#export DATABASE_URL="mysql+pymysql://stackspin:stackspin@localhost/stackspin?charset=utf8mb4"
|
||||
export DATABASE_URL="mysql+pymysql://stackspin:IRvqAzhKMEdIBUUAWulIfZJLQgclLQDm@localhost/stackspin"
|
||||
export DATABASE_URL="mysql+pymysql://stackspin:OZBSDkMdbdvEIOomnwpOqLdaiHDKbzWY@localhost/stackspin"
|
||||
|
||||
flask run
|
||||
|
|
|
@ -19,9 +19,9 @@ then
|
|||
namespace="stackspin"
|
||||
fi
|
||||
|
||||
admin=`ssh $host -lroot kubectl get service -n $namespace |grep single-sign-on-kratos-admin | awk '{print $3'}`
|
||||
public=`ssh $host -lroot kubectl get service -n $namespace |grep single-sign-on-kratos-public | awk '{print $3}'`
|
||||
hydra=`ssh $host -lroot kubectl get service -n $namespace |grep single-sign-on-hydra-admin | awk '{print $3}'`
|
||||
admin=`ssh $host -lroot kubectl get service -n $namespace |grep kratos-admin | awk '{print $3'}`
|
||||
public=`ssh $host -lroot kubectl get service -n $namespace |grep kratos-public | awk '{print $3}'`
|
||||
hydra=`ssh $host -lroot kubectl get service -n $namespace |grep hydra-admin | awk '{print $3}'`
|
||||
mysql=`ssh $host -lroot kubectl get service -n $namespace |grep single-sign-on-database-maria|grep -v headless | awk '{print $3}'`
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue