55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
![]() |
######### Set up kubectl
|
||
|
|
||
|
## MACOS and Debian (ARM64)
|
||
|
|
||
|
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/v1.26.0/bin/linux/arm64/kubectl"
|
||
|
cp /etc/rancher/k3s/k3s.config ~/.kube/config
|
||
|
sudo chmod 600 ~/.kube/config
|
||
|
|
||
|
######### Set up Helm
|
||
|
|
||
|
## MACOS
|
||
|
|
||
|
brew install helm
|
||
|
|
||
|
## Debian
|
||
|
|
||
|
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
|
||
|
sudo apt-get install apt-transport-https --yes
|
||
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
|
||
|
sudo apt-get update
|
||
|
sudo apt-get install helm
|
||
|
|
||
|
######### Install Kustomize
|
||
|
|
||
|
## MACOS and Debian
|
||
|
|
||
|
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
|
||
|
sudo mv kustomize /usr/local/bin
|
||
|
|
||
|
######### Install SOPS
|
||
|
|
||
|
## MACOS (ARM64)
|
||
|
|
||
|
curl -LO https://github.com/getsops/sops/releases/download/v3.9.0/sops-v3.9.0.darwin.arm64
|
||
|
mv sops-v3.9.0.darwin.arm64 /usr/local/bin/sops
|
||
|
chmod +x /usr/local/bin/sops
|
||
|
|
||
|
## Debian (ARM64)
|
||
|
|
||
|
curl -LO https://github.com/getsops/sops/releases/download/v3.9.1/sops-v3.9.1.linux.arm64
|
||
|
mv sops-v3.9.1.linux.arm64 /usr/local/bin/sops
|
||
|
chmod +x /usr/local/bin/sops
|
||
|
|
||
|
######### Install KSOPS and GPG
|
||
|
|
||
|
## MACOS
|
||
|
|
||
|
curl -s https://raw.githubusercontent.com/viaduct-ai/kustomize-sops/master/scripts/install-ksops-archive.sh | bash
|
||
|
brew install gpg
|
||
|
|
||
|
## Debian
|
||
|
|
||
|
curl -s https://raw.githubusercontent.com/viaduct-ai/kustomize-sops/master/scripts/install-ksops-archive.sh | bash
|
||
|
sudo apt install gpg
|