14 lines
345 B
Bash
14 lines
345 B
Bash
|
#!/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
|