Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #82 from gbevan/D20190224_hashivault_vars_test
Browse files Browse the repository at this point in the history
added mock secret for unit tests
  • Loading branch information
gbevan authored Mar 2, 2019
2 parents 82578ef + 203fda9 commit 522024f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gododir/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ func tasks(p *do.Project) {
vault kv put kv/my-secret my-value=s3cr3t
vault kv put kv/my-form field1=value1 field2=value2 field3=value3 \
KUBECONFIG_BASE64=$(echo '{"desc": "kubectl config content goes here"}' | base64 -w 0)
vault kv put secret/ansible/groups/all ansible_user=vagrant ansible_password=vagrant
`)
})

Expand Down

0 comments on commit 522024f

Please sign in to comment.