Skip to content

Commit

Permalink
svdvsdv
Browse files Browse the repository at this point in the history
  • Loading branch information
floryn08 committed Jun 12, 2024
1 parent 5346fe1 commit 76da4a1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/patch-vault-pv-secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Patch Vault PV Secret

on:
workflow_dispatch:

jobs:
patch:
runs-on: ubuntu-latest
steps:

- name: Set up Kubectl
uses: azure/k8s-set-context@v4.0.0
with:
method: service-account
k8s-url: "${{ secrets.API_SERVER }}"
k8s-secret: "${{ secrets.SA_SECRET }}"

- name: Patch PV path
run: |
kubectl patch pv data-vault-pv -p '{"spec":{"hostPath":{"path":"${{ secrets.VAULT_PV_PATH }}"}}}'

0 comments on commit 76da4a1

Please sign in to comment.