test sealed-secrets decryption

This commit is contained in:
2024-07-17 01:01:24 +10:00
parent 42f2c2d7c6
commit 6aafce43ce
2 changed files with 9 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
#!/usr/bin/bash
set -e
filePath=$1
secretName=$1
filePath=$2
cat $filePath | kubeseal -o yaml --scope cluster-wide --controller-name sealed-secrets --controller-namespace argocd | tee $filePath
cat $filePath | kubeseal --format yaml --scope cluster-wide | tee $filePath