# Linux
wget https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.9.5/kubeseal-linux-amd64 -O kubeseal
sudo install -m 755 kubeseal /usr/local/bin/kubeseal
rm -rf kubeseal
# MacOS
brew install kubeseal
cd secrets
kubeseal --controller-name sealed-secrets --fetch-cert > ./pub-cert.pem
cd secrets
cp .env.secrets.sample .env.secrets
cd secrets
./generate-secrets.sh