.bashrc 713 B

12345678910111213141516171819202122232425
  1. [ -f ~/.fzf.bash ] && source ~/.fzf.bash
  2. ### 15Five Functions
  3. set-sts-env() {
  4. source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-sts-env.sh
  5. }
  6. set-deploy-env() {
  7. source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-deploy-env.sh
  8. }
  9. set-pg-env() {
  10. source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-pg-env.sh
  11. }
  12. prod() {
  13. okta-awscli --okta-profile poweruser --profile 15five-root-poweruser
  14. set-sts-env 15five-root-poweruser 15five-production-poweruser
  15. aws eks update-kubeconfig --name $VPC_NAME
  16. kubectl -n $VPC_NAME exec -it deployment/uvicorn-web-general -- bash
  17. }
  18. shuttle() {
  19. sshuttle -r bastion.cloud100.15five.com 10.100.0.0/16
  20. }