Skip to content

Commit

Permalink
adding kubecolor to our base arm installs and adding updating docstri…
Browse files Browse the repository at this point in the history
…ng for unused function
  • Loading branch information
jessebot committed Jul 10, 2023
1 parent ad49fa4 commit 5aeedad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docker/arm_config/devops-onboardme-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ sudo apt install -y gh
# cd glab/
# makedeb -si

# install kubecolor - a colorized kubectl
curl -Lo /tmp/kubecolor.tar.gz https://github.com/hidetatz/kubecolor/releases/download/v0.0.25/kubecolor_0.0.25_Linux_arm64.tar.gz
tar xvf /tmp/kubecolor.tar.gz -C /tmp
mv /tmp/kubecolor ~/.local/bin/kubecolor

# install kubectl for arm64
# ref: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#install-kubectl-binary-with-curl-on-linux
echo -e "\n\033[92mInstalling kubectl\033[00m"
Expand Down
4 changes: 1 addition & 3 deletions onboardme/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

def map_caps_to_control():
"""
NOT IN USE. NEEDS TLC.
Maps capslock to control. This is ugly and awful and untested
"""
print_header("⌨️ Mapping capslock to control...")
Expand All @@ -23,6 +24,3 @@ def setup_cronjobs():
"""
print_header("⏰ Installing new cronjobs...")
print("\n")
# TODO: is there a python cron library 🤔 install .cron dir? (is there a
# standard in where cronjobs live for users [preferably in the home dir?)
# that works on both macos and debian?

0 comments on commit 5aeedad

Please sign in to comment.