aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/postgres/deploy.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-05-01 20:50:47 +0000
committerterminaldweller <thabogre@gmail.com>2022-05-01 20:50:47 +0000
commit8ba4e6c49607531de6ff7426a33bdf75e10a25a1 (patch)
treece42dbd518cc97bd4dec0a6696ba42a7743fca85 /kubernetes/postgres/deploy.sh
parentupdate for irssi config (diff)
downloadscripts-8ba4e6c49607531de6ff7426a33bdf75e10a25a1.tar.gz
scripts-8ba4e6c49607531de6ff7426a33bdf75e10a25a1.zip
added postgres to k3s, using ueberzug instead of w3m for previews
Diffstat (limited to 'kubernetes/postgres/deploy.sh')
-rwxr-xr-xkubernetes/postgres/deploy.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/kubernetes/postgres/deploy.sh b/kubernetes/postgres/deploy.sh
new file mode 100755
index 0000000..0397ea4
--- /dev/null
+++ b/kubernetes/postgres/deploy.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env sh
+
+kubectl apply -f ./postgres-secret.yaml
+kubectl apply -f ./postgres-data-volume.yaml
+kubectl apply -f ./postgres-deployment.yaml
+
+# kubectl delete pod mongodb
+# kubectl delete pvc
+# kubectl delete pv