k8s-deployment/scripts/sops_dec_enc.sh

7 lines
152 B
Bash
Executable File

#!/usr/bin/env bash
for file in $(find values -type f -depth 2 -name "secrets.*"); do
echo $file
sops decrypt -i $file
sops encrypt -i $file
done