update secrets

This commit is contained in:
2024-07-18 16:35:35 +10:00
parent b7587f8226
commit 7d11d2aa4c
6 changed files with 83 additions and 21 deletions

View File

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

View File

@@ -1,7 +1,6 @@
#!/usr/bin/bash
set -e
secretName=$1
filePath=$2
filePath=$1
cat $filePath | kubeseal --format yaml --scope cluster-wide | tee $filePath
kubeseal --format yaml --scope cluster-wide -f $filePath -w $filePath