Skip to content

Commit

Permalink
add test for vault
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 4bbb027 commit 3c58fdb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ spec:
kind: HelmRepository
name: external-secrets
namespace: flux-system
# https://github.com/external-secrets/external-secrets/blob/main/deploy/charts/external-secrets/values.yaml
values:
installCRDs: true
1 change: 1 addition & 0 deletions clusters/private-cloud/vault/vault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
kind: HelmRepository
name: hashicorp
namespace: flux-system
# https://github.com/hashicorp/vault-helm/blob/main/values.yaml
values:
server:
enabled: false
Expand Down
4 changes: 2 additions & 2 deletions doc/plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
- [x] blog for lint tool: yaml and shell
- [x] add minio to flux
- [x] ansible-lint
- [ ] add galaxy
- [ ] add galaxy_ng
- [ ] add loki
- [ ] add redis
- [x] add vault
- [ ] use vault for k8s secret: https://www.hashicorp.com/blog/manage-kubernetes-secrets-for-flux-with-hashicorp-vault
- [ ] add test for vault
- [x] add test for vault
- [ ] add test for external-secrets
- [ ] use vault in ansible
- [x] add external-secrets: https://github.com/external-secrets/external-secrets
Expand Down
5 changes: 5 additions & 0 deletions test/deployment-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,8 @@ flux reconcile kustomization minio
kubectl wait --timeout 300s --for=condition=available -n minio \
deployment/minio \
|| exit 1

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

0 comments on commit 3c58fdb

Please sign in to comment.