zkt23/z2/prepare-app.sh

14 lines
345 B
Bash
Raw Permalink Normal View History

2023-05-07 19:32:58 +00:00
#!/bin/bash
# create namespace
kubectl apply -f namespace.yaml
# create mysql secrets
kubectl create secret generic mysql-secret --from-literal=password=dromedario -n ibanweb
# create mysql statefulset and service
kubectl apply -f statefulset.yaml
kubectl apply -f service.yaml
# create phpmyadmin deployment
kubectl apply -f deployment.yaml