Skip to content

Commit

Permalink
Trying to use vault to retrieve the github api token
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobbrewer1 committed Aug 14, 2024
1 parent 6c006c3 commit 64f61e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-production-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
password: ${{ secrets.VAULT_PASSWORD }}
secrets: |
${{ secrets.VAULT_GITHUB_PATH }} ${{ secrets.VAULT_GITHUB_KEY }} | GITHUB_TOKEN ;
${{ secrets.VAULT_KUBE_CONFIG_PATH }} ${{ secrets.VAULT_KUBE_CONFIG_KEY }} | KUBE_CONFIG ;
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -52,4 +53,4 @@ jobs:
uses: WyriHaximus/github-action-helm3@v4
with:
exec: helm upgrade --install puppet-summary ./charts --values charts/valueFiles/prod-1/puppet-summary.yaml --set image.tag=${{ steps.get_commit.outputs.sha_short_deploy }}
kubeconfig: '${{ secrets.KUBE_CONFIG }}'
kubeconfig: '${{ steps.import-secrets.outputs.KUBE_CONFIG }}'

0 comments on commit 64f61e9

Please sign in to comment.