Skip to content

Commit

Permalink
update vault helm
Browse files Browse the repository at this point in the history
Signed-off-by: Song Song Li <[email protected]>
  • Loading branch information
songleo committed Mar 11, 2024
1 parent 2d14b9a commit a3d1ac9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
7 changes: 7 additions & 0 deletions clusters/private-cloud/vault/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```
kubectl port-forward svc/vault 8200:8200
export VAULT_ADDR='http://127.0.0.1:8200'
vault operator init
vault operator unseal
```
7 changes: 0 additions & 7 deletions clusters/private-cloud/vault/vault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,3 @@ spec:
name: hashicorp
namespace: flux-system
# https://github.com/hashicorp/vault-helm/blob/main/values.yaml
values:
server:
enabled: false
injector:
enabled: false
csi:
enabled: true
4 changes: 2 additions & 2 deletions doc/plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
- [ ] add redis
- [x] add vault
- [ ] use vault for k8s secret: https://www.hashicorp.com/blog/manage-kubernetes-secrets-for-flux-with-hashicorp-vault
- [x] add test for vault
- [ ] add test for external-secrets
- [ ] add test for vault
- [x] add test for external-secrets
- [ ] use vault in ansible
- [x] add external-secrets: https://github.com/external-secrets/external-secrets
- [ ] use external-secrets with vault
4 changes: 4 additions & 0 deletions test/deployment-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ kubectl wait --timeout 300s --for=condition=available -n minio \
|| exit 1

flux reconcile helmrelease vault
kubectl wait --timeout 300s --for=condition=available -n vault \
deployment/vault-agent-injector \
|| exit 1

kubectl get daemonsets vault-csi-provider -n vault -o jsonpath='{.status.numberReady}' \
| grep 2 \
|| exit 1
Expand Down

0 comments on commit a3d1ac9

Please sign in to comment.