blob: 140d437060790923f96627acb800daa90ff11a53 [file] [log] [blame]
garciadeblas8d8cd992024-05-21 16:04:14 +02001#!/bin/bash
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# Install `gnupg` and `gpg` - Typically pre-installed in Ubuntu
17sudo apt-get install gnupg gpg
18
19# Install `sops`
20curl -LO https://github.com/getsops/sops/releases/download/v3.8.1/sops-v3.8.1.linux.amd64
21sudo mv sops-v3.8.1.linux.amd64 /usr/local/bin/sops
22sudo chmod +x /usr/local/bin/sops
23
24# Install `envsubst`
25sudo apt-get install gettext-base
26
27# Install `age`
28# Ubuntu 22.04+:
29sudo apt-get install age
30
31# (Only for Gitea) Install `apg`
32sudo apt-get install apg
33
34# # (Only for Minio) `kubectl minio` plugin and Minio Client
35# curl https://github.com/minio/operator/releases/download/v5.0.12/kubectl-minio_5.0.12_linux_amd64 -Lo kubectl-minio
36# curl https://dl.min.io/client/mc/release/linux-amd64/mc -o minioc
37# chmod +x kubectl-minio minioc
38# sudo mv kubectl-minio minioc /usr/local/bin/
39# # (Only for HTTPS Ingress for Minio tenant) Install `openssl`
40# sudo apt-get install openssl
41
42# Flux client
43curl -s https://fluxcd.io/install.sh | sudo bash
44# Autocompletion
45. <(flux completion bash)