Add kubectl

This commit is contained in:
dabruh 2022-12-14 09:49:42 +01:00
parent efb6243145
commit f429afc5ee
2 changed files with 19 additions and 15 deletions

View File

@ -5,18 +5,17 @@ pacman-any:code,vim,ufw,scrot,dunst
pacman-laptop:brightnessctl pacman-laptop:brightnessctl
aur-any:picom-git,sddm-theme-aerial-git aur-any:picom-git,sddm-theme-aerial-git
apt-base:acpi,curl apt-base:acpi,wget,curl
apt-any:i3,feh,i3status,nm-tray,pasystray,xautolock,inotify-tools,xss-lock,fonts-noto-color-emoji,xclip apt-any:i3,feh,i3status,nm-tray,pasystray,xautolock,inotify-tools,xss-lock,fonts-noto-color-emoji,xclip
apt-any:libxext-dev,libxcb1-dev,libxcb-damage0-dev,libxcb-xfixes0-dev,libxcb-shape0-dev,libxcb-render-util0-dev,libxcb-render0-dev,libxcb-randr0-dev,libxcb-composite0-dev,libxcb-image0-dev,libxcb-present-dev,libxcb-xinerama0-dev,libxcb-glx0-dev,libpixman-1-dev,libdbus-1-dev,libconfig-dev,libgl1-mesa-dev,libpcre2-dev,libpcre3-dev,libevdev-dev,uthash-dev,libev-dev,libx11-xcb-dev,meson apt-any:libxext-dev,libxcb1-dev,libxcb-damage0-dev,libxcb-xfixes0-dev,libxcb-shape0-dev,libxcb-render-util0-dev,libxcb-render0-dev,libxcb-randr0-dev,libxcb-composite0-dev,libxcb-image0-dev,libxcb-present-dev,libxcb-xinerama0-dev,libxcb-glx0-dev,libpixman-1-dev,libdbus-1-dev,libconfig-dev,libgl1-mesa-dev,libpcre2-dev,libpcre3-dev,libevdev-dev,uthash-dev,libev-dev,libx11-xcb-dev,meson
apt-any:python3,python3-pip apt-any:python3,python3-pip
apt-any:sddm,gstreamer1.0-libav qml-module-qtmultimedia libqt5multimedia5-plugins apt-any:sddm,gstreamer1.0-libav qml-module-qtmultimedia libqt5multimedia5-plugins
apt-any:codium,vim,ufw,scrot apt-any:codium,vim,ufw,scrot
apt-any:chromium-browser apt-any:chromium-browser
apt-laptop:brightnessctl
apt-any:libxcb-render0-dev,libffi-dev,python3-dev,python3-cffi apt-any:libxcb-render0-dev,libffi-dev,python3-dev,python3-cffi
apt-laptop:brightnessctl
pip-any:flashfocus pip-any:flashfocus
brew-formulas-any:helm,shellcheck,velero,azure/kubelogin/kubelogin,derailed/k9s/k9s,fluxcd/tap/flux,weaveworks/tap/gitops brew-formulas-any:kubectl,helm,shellcheck,velero,azure/kubelogin/kubelogin,derailed/k9s/k9s,fluxcd/tap/flux,weaveworks/tap/gitops
krew-any:ctx,krew,ns,slice,stern,tree krew-any:ctx,krew,ns,slice,stern,tree

View File

@ -277,7 +277,7 @@ function setup_debian_repo_vscodium() {
sudo tee /etc/apt/sources.list.d/vscodium.list sudo tee /etc/apt/sources.list.d/vscodium.list
} }
function setup_debian_with_apt() { function setup_debian_base_with_apt() {
local targets packages local targets packages
targets=("apt-base") targets=("apt-base")
@ -285,6 +285,10 @@ function setup_debian_with_apt() {
sudo apt-get update sudo apt-get update
# shellcheck disable=SC2086 # shellcheck disable=SC2086
sudo apt-get install $packages -y || return 1 sudo apt-get install $packages -y || return 1
}
function setup_debian_with_apt() {
local targets packages
targets=("apt-any") targets=("apt-any")
is_laptop && targets+=("apt-laptop") is_laptop && targets+=("apt-laptop")
@ -308,16 +312,17 @@ function setup_debian_with_git() {
} }
function setup_debian() { function setup_debian() {
setup_debian_repo_vscodium || return 1 setup_debian_base_with_apt || return 1
setup_debian_with_apt || return 2 setup_debian_repo_vscodium || return 2
setup_debian_with_pip || return 3 setup_debian_with_apt || return 3
setup_debian_with_git || return 4 setup_debian_with_pip || return 4
configure_sddm || return 5 setup_debian_with_git || return 5
configure_ufw || return 6 configure_sddm || return 6
setup_homebrew || return 7 configure_ufw || return 7
setup_brew_formulas || return 8 setup_homebrew || return 8
setup_krew || return 9 setup_brew_formulas || return 9
setup_krew_plugins || return 10 setup_krew || return 10
setup_krew_plugins || return 11
} }
ID_LIKE="$(grep ID_LIKE= </etc/os-release | cut -d= -f2)" ID_LIKE="$(grep ID_LIKE= </etc/os-release | cut -d= -f2)"