Add GPG ability to wrapper script
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
This commit is contained in:
parent
11016dad8f
commit
906a685cc7
|
@ -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
|
# helm secrets only supports a few helm commands
|
||||||
if [ $1 = "template" ] || [ $1 = "install" ] || [ $1 = "upgrade" ] || [ $1 = "lint" ] || [ $1 = "diff" ]
|
if [ $1 = "template" ] || [ $1 = "install" ] || [ $1 = "upgrade" ] || [ $1 = "lint" ] || [ $1 = "diff" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue