Install kubectl
This commit is contained in:
@@ -34,6 +34,7 @@ rpm:
|
|||||||
- id3v2
|
- id3v2
|
||||||
- xinput
|
- xinput
|
||||||
- earthly
|
- earthly
|
||||||
|
- kubectl
|
||||||
remove:
|
remove:
|
||||||
# Remove the native firefox (from Fedora) in favor of the Flatpak.
|
# Remove the native firefox (from Fedora) in favor of the Flatpak.
|
||||||
- firefox
|
- firefox
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ rpm:
|
|||||||
- id3v2
|
- id3v2
|
||||||
- xinput
|
- xinput
|
||||||
- earthly
|
- earthly
|
||||||
|
- kubectl
|
||||||
remove:
|
remove:
|
||||||
# Remove the native firefox (from Fedora) in favor of the Flatpak.
|
# Remove the native firefox (from Fedora) in favor of the Flatpak.
|
||||||
- firefox
|
- firefox
|
||||||
|
|||||||
12
scripts/pre/setup-kubectl.sh
Normal file
12
scripts/pre/setup-kubectl.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -oue pipefail
|
||||||
|
|
||||||
|
cat <<EOF | sudo tee /etc/yum.repos.d/kubernetes.repo
|
||||||
|
[kubernetes]
|
||||||
|
name=Kubernetes
|
||||||
|
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-\$basearch
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
|
||||||
|
EOF
|
||||||
Reference in New Issue
Block a user