Skip to content

Commit

Permalink
sops: add gitlab secret-job
Browse files Browse the repository at this point in the history
Signed-off-by: Login Victor <batazor@evrone.com>
  • Loading branch information
batazor committed Sep 21, 2022
1 parent 8453818 commit 0d961a9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ops/gitlab/pipelines/addons/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,23 @@ argo:
rules:
- when: manual

argo-secret:
extends:
- .matrix_deploy_provider
stage: deploy
services:
- name: docker:dind
command: [ "--experimental" ]
image: bitnami/kubectl
script:
- cat "${GPG_TOKEN} |
kubectl create secret generic sops-gpg \
--namespace=argocd \
--from-file=sops.asc=/dev/stdin
needs: []
rules:
- when: manual

keda:
stage: deploy
variables:
Expand Down

0 comments on commit 0d961a9

Please sign in to comment.