Odstranit z2/start-app.sh
This commit is contained in:
parent
bcb70d272a
commit
d1fd272d7c
@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
kubectl create namespace botspace
|
||||
kubectl create configmap init-sql --from-file=sql/init.sql -n botspace
|
||||
kubectl create secret generic bot-secret --from-literal=TOKEN=7293191565:AAF70PTx9QgkIvt3BDQGFY64p-ngiaPLAMA -n botspace --dry-run=client -o yaml | kubectl apply -f -
|
||||
|
||||
kubectl apply -f statefulset.yaml
|
||||
kubectl apply -f service.yaml
|
||||
kubectl apply -f deployment.yaml
|
||||
kubectl apply -f flask-web.yaml
|
||||
|
||||
echo "🌐 Spúšťam port-forward na http://localhost:8888"
|
||||
kubectl port-forward svc/flask-service 8888:5000 -n botspace
|
||||
|
Loading…
Reference in New Issue
Block a user