feat(omz): move omz config to dotfiles

This commit is contained in:
Oliver
2025-01-21 11:07:55 +01:00
parent a81dc224bd
commit 16ed8ff260
4 changed files with 375 additions and 0 deletions

13
omz-custom/kfp.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
function pause(){
echo "$*"
read
}
echo "Script started at $(date)" >> /tmp/script_debug.log
kubectl port-forward --namespace production svc/mysql-shared 3307:3306 &
kubectl port-forward --namespace acceptance svc/mysql-shared 3308:3306 &
kubectl port-forward --namespace dev svc/mysql-shared 3309:3306 &
sleep 2
pause 'Press [Enter] key to stop the port forwards...'
pkill -9 kubectl