Skip to content

Commit

Permalink
fix: allow no gpg key to exist
Browse files Browse the repository at this point in the history
  • Loading branch information
josmo committed Apr 19, 2024
1 parent 5886427 commit ee90e6a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ spec:
# Import the private gpg key from the secret into argocd
- name: import-gpg-key
image: argoproj/argocd:v2.5.0
command: [ "gpg", "--import","/sops-gpg/sops.asc" ]
command: [ "/bin/sh", "-c" ]
args:
- "gpg --import /sops-gpg/sops.asc || true"
env:
- name: GNUPGHOME
value: /gnupg-home/.gnupg
Expand Down

0 comments on commit ee90e6a

Please sign in to comment.