Files
home-cluster-ops/scripts/encrypt-file-by-sealed-secrets.sh

6 lines
169 B
Bash

#!/usr/bin/bash
set -e
filePath=$1
cat $filePath | kubeseal -o yaml --scope cluster-wide --controller-name sealed-secrets --controller-namespace argocd | tee $filePath