Browse Source

Adds alias for microk8s

Fred Damstra 4 years ago
parent
commit
bd742936d1
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .bashrc

+ 4 - 0
.bashrc

@@ -242,6 +242,10 @@ fi
 #  export LANG=en_CA.UTF-8;export LOCALE=en_CA.UTF-8; `which bw` slab
 #fi
 
+if [[ -x `which microk8s` ]]; then
+  alias kubectl='microk8s kubectl'
+fi
+
 export TF_PLUGIN_CACHE_DIR=~/.terraform.d/plugin-cache
 [[ -d "$TF_PLUGIN_CACHE_DIR" ]] || mkdir -p $TF_PLUGIN_CACHE_DIR