zkt23/z2/prepare-app.sh
2023-05-07 21:32:58 +02:00

14 lines
345 B
Bash
Executable File

#!/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