update secrets
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user