From f429afc5ee236e4d775f26114ac9fee3fb722aa1 Mon Sep 17 00:00:00 2001 From: dabruh <11458706-dabruh@users.noreply.gitlab.com> Date: Wed, 14 Dec 2022 09:49:42 +0100 Subject: [PATCH] Add kubectl --- .installer/packages | 7 +++---- setup_system.sh | 27 ++++++++++++++++----------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.installer/packages b/.installer/packages index 1a40a14..76cf381 100644 --- a/.installer/packages +++ b/.installer/packages @@ -5,18 +5,17 @@ pacman-any:code,vim,ufw,scrot,dunst pacman-laptop:brightnessctl 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: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:sddm,gstreamer1.0-libav qml-module-qtmultimedia libqt5multimedia5-plugins apt-any:codium,vim,ufw,scrot apt-any:chromium-browser -apt-laptop:brightnessctl - apt-any:libxcb-render0-dev,libffi-dev,python3-dev,python3-cffi +apt-laptop:brightnessctl 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 diff --git a/setup_system.sh b/setup_system.sh index c3bf7f1..51a0a79 100755 --- a/setup_system.sh +++ b/setup_system.sh @@ -277,7 +277,7 @@ function setup_debian_repo_vscodium() { sudo tee /etc/apt/sources.list.d/vscodium.list } -function setup_debian_with_apt() { +function setup_debian_base_with_apt() { local targets packages targets=("apt-base") @@ -285,6 +285,10 @@ function setup_debian_with_apt() { sudo apt-get update # shellcheck disable=SC2086 sudo apt-get install $packages -y || return 1 +} + +function setup_debian_with_apt() { + local targets packages targets=("apt-any") is_laptop && targets+=("apt-laptop") @@ -308,16 +312,17 @@ function setup_debian_with_git() { } function setup_debian() { - setup_debian_repo_vscodium || return 1 - setup_debian_with_apt || return 2 - setup_debian_with_pip || return 3 - setup_debian_with_git || return 4 - configure_sddm || return 5 - configure_ufw || return 6 - setup_homebrew || return 7 - setup_brew_formulas || return 8 - setup_krew || return 9 - setup_krew_plugins || return 10 + setup_debian_base_with_apt || return 1 + setup_debian_repo_vscodium || return 2 + setup_debian_with_apt || return 3 + setup_debian_with_pip || return 4 + setup_debian_with_git || return 5 + configure_sddm || return 6 + configure_ufw || return 7 + setup_homebrew || return 8 + setup_brew_formulas || return 9 + setup_krew || return 10 + setup_krew_plugins || return 11 } ID_LIKE="$(grep ID_LIKE=