diff --git a/helm-wrapper.sh b/helm-wrapper.sh index 2c29c65..cad999c 100644 --- a/helm-wrapper.sh +++ b/helm-wrapper.sh @@ -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