Skip to content

Commit

Permalink
Cleanup chainsaw test
Browse files Browse the repository at this point in the history
  • Loading branch information
lentzi90 committed Feb 14, 2025
1 parent cc4ec60 commit d6fb857
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
name: argocd-server
namespace: argocd
status:
# filter conditions array to keep elements where `type == 'Ready'`
# filter conditions array to keep elements where `type == 'Available'`
# and assert there's a single element matching the filter
# and that this element status is `True`
(conditions[?type == 'Available']):
Expand Down Expand Up @@ -216,12 +216,23 @@ spec:
- try:
# Create secret store and token secret
- script:
timeout: 30s
timeout: 10s
content: |
kubectl -n external-secrets create secret generic bitwarden-access-token-test --from-literal=token=${BITWARDEN_ACCESS_TOKEN}
for i in {1..5}; do
kubectl apply -f secret-store/test-secretstore.yaml && break || sleep 5
done
kubectl apply -f secret-store/test-secretstore.yaml
- assert:
timeout: 10s
resource:
apiVersion: external-secrets.io/v1beta1
kind: ClusterSecretStore
metadata:
name: bitwarden-test
status:
# filter conditions array to keep elements where `type == 'Ready'`
# and assert there's a single element matching the filter
# and that this element status is `True`
(conditions[?type == 'Ready']):
- status: 'True'
# Cloudnatice-pg
- try:
- script:
Expand Down

0 comments on commit d6fb857

Please sign in to comment.