From ffa5a4d088fe3324ff6a8dc4b933c3d5b9fef244 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Mon, 21 Mar 2022 15:19:15 +0100 Subject: [PATCH] added nodered alias to container --- .alias | 1 + 1 file changed, 1 insertion(+) diff --git a/.alias b/.alias index 2b654e7..46b8f6a 100644 --- a/.alias +++ b/.alias @@ -5,3 +5,4 @@ alias gpg='gpg2' alias ls_dotfiels='/usr/bin/git --git-dir=$HOME/.dotfiles ls-tree --full-tree -r --name-only HEAD' alias gl='git log --graph --pretty=format:'\''%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\'' --abbrev-commit --date=relative' alias mariadb='kubectl -n mariadb exec -it $(kubectl -n mariadb get pod --selector=app.kubernetes.io/instance=mariadb --template "{{range .items}}{{.metadata.name}}{{\"\n\"}}{{end}}") -- mysql' +alias nodered='kubectl -n nodered exec -it $(kubectl -n nodered get pod --selector=app.kubernetes.io/name=node-red --template "{{range .items}}{{.metadata.name}}{{\"\n\"}}{{end}}") -- bash'