Skip to content

Commit

Permalink
gitlab: add helm-secret
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Login <batazor@evrone.com>
  • Loading branch information
batazor committed Jan 15, 2023
1 parent cf41916 commit 854c2f9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ops/gitlab/templates/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
entrypoint: [""]
before_script:
- helm plugin install https://github.com/jkroepke/helm-secrets
- apk add --no-cache gnupg
- |
cat > /etc/apk/repositories << EOF; $(echo)
https://dl-cdn.alpinelinux.org/alpine/v$(cut -d'.' -f1,2 /etc/alpine-release)/main/
https://dl-cdn.alpinelinux.org/alpine/v$(cut -d'.' -f1,2 /etc/alpine-release)/community/
https://dl-cdn.alpinelinux.org/alpine/edge/testing/
EOF
- apk update
- apk add --no-cache gnupg sops
- gpg --import ${GPG_TOKEN}
retry: 2

0 comments on commit 854c2f9

Please sign in to comment.