ajout alias ksh

main
Gil Portenseigne 2024-05-28 09:09:16 +02:00
parent b4dba3bcf5
commit c49be85181
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@ alias kstage="export AWS_PROFILE='staging' && aws sso login && aws eks update-ku
kf() {
kubectl port-forward "$1" "$2${3:+:$3}"
}
# opensaml::FatalProfileException k exec -it ofbiz-front-d5f87f9bd-s2zc7 "/bin/bash"
ksh() {
kubectl exec -it "$1" "${2:+-c$2}" -- "/bin/bash"
}
alias tp="ssh -L localhost:5488:emb-ofbiz-prep-ofbiz2-rds-encrypted.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon"
alias tn="ssh -L localhost:5488:emb-ofbiz-nereide-ofbiz2-rds.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon"