Files
home-cluster-ops/scripts/encrypt-file-by-kubeseal.sh
2024-07-16 13:30:02 +10:00

8 lines
179 B
Bash

#!/usr/bin/bash
set -e
filePath=$1
kubeseal --format=yaml --scope cluster-wide -n argocd --controller-name sealed-secrets --controller-namespace argocd < $filePath > $filePath