zkt25/z2/start-app.sh

10 lines
297 B
Bash
Executable File

#!/bin/bash
kubectl apply -f kubi/namespace.yaml
kubectl apply -f kubi/statefulset.yaml
kubectl create configmap db-init-script --from-file=db/init.sql -n webform-app
kubectl apply -f kubi/deployment.yaml
kubectl apply -f kubi/service.yaml
# Get url
minikube service web-app -n webform-app --url