From 577295babf28f78599611777cac502089a5933ac Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Sat, 26 Mar 2022 10:06:47 +0100 Subject: [PATCH] added hass alias --- .alias | 1 + 1 file changed, 1 insertion(+) diff --git a/.alias b/.alias index 46b8f6a..749b80a 100644 --- a/.alias +++ b/.alias @@ -6,3 +6,4 @@ alias ls_dotfiels='/usr/bin/git --git-dir=$HOME/.dotfiles ls-tree --full-tree -r 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' +alias hass='kubectl -n home-assistant exec -it $(kubectl -n home-assistant get pod --selector=app.kubernetes.io/name=home-assistant --template "{{range .items}}{{.metadata.name}}{{\"\n\"}}{{end}}") -- bash'