Compare commits
2 Commits
db018dd5ca
...
b4dba3bcf5
| Author | SHA1 | Date |
|---|---|---|
|
|
b4dba3bcf5 | |
|
|
cf92503ce7 |
|
|
@ -19,6 +19,14 @@ 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 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 kstage="export AWS_PROFILE='staging' && aws sso login && aws eks update-kubeconfig --region eu-west-1 --name rfidprod-staging"
|
||||||
|
|
||||||
|
# Open a port forward session to a remote Kubernetes deployment
|
||||||
|
# @param {string} $1 Deployment name
|
||||||
|
# @param {number} $2 Local+remote OR local port number
|
||||||
|
# @param {number=} $3 Remote port number
|
||||||
|
kf() {
|
||||||
|
kubectl port-forward "$1" "$2${3:+:$3}"
|
||||||
|
}
|
||||||
|
|
||||||
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"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ groups | grep -q sudo || echo "Please add $(whoami) to sudo group with : sudo us
|
||||||
groups | grep -q sudo || return
|
groups | grep -q sudo || return
|
||||||
|
|
||||||
# sudo usermod -aG sudo $user # pour passer sudoers, puis reboot
|
# sudo usermod -aG sudo $user # pour passer sudoers, puis reboot
|
||||||
sudo apt install -y openjdk-17-jdk maven vim-gtk3 vim vim-nox zsh fzf cmake python3-tldextract uuid-runtime webext-browserpass webext-ublock-origin-firefox curl pass python3 ripgrep fonts-firacode fd-find tmux postgresql rsync nextcloud-desktop tig locate htop libx11-dev libxinerama-dev libxft-dev libx11-xcb-dev libxcb-res0-dev arandr make gcc pulsemixer unclutter libnotify-bin ncal dmenu brightnessctl brightness-udev feh autorandr inkscape neomutt isync msmtp lynx notmuch abook urlview pulseaudio-utils mailsync slock bash-completion dunst kubectx imagemagick pdfarranger
|
sudo apt install -y openjdk-17-jdk xclip maven vim-gtk3 vim vim-nox zsh fzf cmake python3-tldextract uuid-runtime webext-browserpass webext-ublock-origin-firefox curl pass python3 ripgrep fonts-firacode fd-find tmux postgresql rsync nextcloud-desktop tig locate htop libx11-dev libxinerama-dev libxft-dev libx11-xcb-dev libxcb-res0-dev arandr make gcc pulsemixer unclutter libnotify-bin ncal dmenu brightnessctl brightness-udev feh autorandr inkscape neomutt isync msmtp lynx notmuch abook urlview pulseaudio-utils mailsync slock bash-completion dunst kubectx imagemagick pdfarranger
|
||||||
sudo apt autoremove
|
sudo apt autoremove
|
||||||
|
|
||||||
[ ! -f "$HOME/.local/bin/fd" ] && ln -s $(which fdfind) ~/.local/bin/fd
|
[ ! -f "$HOME/.local/bin/fd" ] && ln -s $(which fdfind) ~/.local/bin/fd
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue