Add GPG ability to wrapper script
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Martyn 2021-02-06 15:52:21 +01:00
parent 11016dad8f
commit 906a685cc7
1 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,12 @@
#!/bin/sh
GPG_KEY='/home/argocd/gpg/gpg.asc'
if [ -f ${GPG_KEY} ]
then
gpg --quiet --import ${GPG_KEY}
fi
# helm secrets only supports a few helm commands
if [ $1 = "template" ] || [ $1 = "install" ] || [ $1 = "upgrade" ] || [ $1 = "lint" ] || [ $1 = "diff" ]
then