Ajout alias login infra kube

main
Gil Portenseigne 2024-04-10 16:51:44 +02:00
parent 85595a0e90
commit f30297a03e
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ alias k="kubectl"
alias kns="kubens" alias kns="kubens"
alias kctx="kubectx" alias kctx="kubectx"
alias fluxUp="flux reconcile source git flux-system" alias fluxUp="flux reconcile source git flux-system"
alias kprod="export AWS_PROFILE='production' && aws sso login && aws eks update-kubeconfig --region eu-west-1 --name rfidprod-production"
alias kstage="export AWS_PROFILE='staging' && aws sso login && aws eks update-kubeconfig --region eu-west-1 --name rfidprod-staging"
alias tp="ssh -L localhost:5488:emb-ofbiz-prep-ofbiz2-rds-encrypted.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon" 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" alias tn="ssh -L localhost:5488:emb-ofbiz-nereide-ofbiz2-rds.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon"