Skip to content

Commit

Permalink
Fix #5: Fixing vault setting and github action setting
Browse files Browse the repository at this point in the history
- adding vault secret
- changing bootstrap for right direction
  • Loading branch information
404-not-foundl committed Aug 13, 2024
1 parent c2f16dc commit 183ab08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
echo "test.vault.engine=${{ secrets.TEST_VAULT_ENGINE }}" >> src/main/resources/bootstrap.yml
echo "test.vault.token=${{ secrets.TEST_VAULT_TOKEN }}" >> src/main/resources/bootstrap.yml
echo "test.vault.uri=${{ secrets.TEST_VAULT_URI }}" >> src/main/resources/bootstrap.yml
echo "test.vault.secret=${{ secrets.TEST_VAULT_SECRET }}" >> src/main/resources/bootstrap.yml
- name: Push Docker image latest
uses: docker/build-push-action@v2
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ spring:
token: ${test.vault.token}
kv:
enabled: true
backend: spring
default-context: application
backend: ${test.vault.engine}
default-context: ${test.vault.secret}
uri: ${test.vault.uri}

0 comments on commit 183ab08

Please sign in to comment.