File tree Expand file tree Collapse file tree
tests/templates/kuttl/non-sensitive-data Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22apiVersion : kuttl.dev/v1beta1
33kind : TestAssert
4- timeout : 10
4+ timeout : 300
55commands :
66 # Ensure that the Pod comes up
7- - script : kubectl wait --for=condition=Ready pod/secret-consumer-$NAMESPACE --namespace "$NAMESPACE" --timeout 60s
7+ - script : kubectl wait --for=condition=Ready pod/secret-consumer-$NAMESPACE --namespace "$NAMESPACE" --timeout 300s
88 # Ensure there is only a single file in the target directories
99 - script : kubectl exec secret-consumer-$NAMESPACE --namespace "$NAMESPACE" -- bash -c 'if [ $(ls -p /stackable/ca/pem | grep -v / | wc -l) = "1" ]; then echo "Success"; else exit 1; fi'
1010 - script : kubectl exec secret-consumer-$NAMESPACE --namespace "$NAMESPACE" -- bash -c 'if [ $(ls -p /stackable/ca/pkcs12 | grep -v / | wc -l) = "1" ]; then echo "Success"; else exit 1; fi'
You can’t perform that action at this time.
0 commit comments