File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,24 @@ jobs:
131131 helm list --all-namespaces
132132 kubectl delete konks,konkservices --all --all-namespaces
133133 [ -z "$(helm list --all-namespaces --filter '^runner-.*konk(-service)?$' | tee /dev/stderr | grep konk)" ]
134+ - name : Test Recreate
135+ timeout-minutes : 5
136+ run : |
137+ kubectl apply -n $KONK_NAMESPACE -f examples/konk.yaml
138+
139+ # deploy example-apiserver using a passed KONK reference
140+ make deploy-example-apiserver KIND_NAME="chart-testing" \
141+ HELM_SETFLAGS="--set=konk.name=runner-konk --set=konk.namespace=$KONK_NAMESPACE --set=konk.create=false --set=image.pullPolicy=IfNotPresent"
142+
143+ kubectl wait -n $KONK_NAMESPACE --timeout=3m --for=condition=ready pod -l app.kubernetes.io/component=apiserver,app.kubernetes.io/name=konk
144+ POD_NAME=$(kubectl get pod -o name -l app.kubernetes.io/name=konk-service,app.kubernetes.io/component=apiservice )
145+ until kubectl exec -it $POD_NAME -- kubectl get contact
146+ do
147+ kubectl exec -it $POD_NAME -- kubectl describe apiservice v1alpha1.example.infoblox.com || true
148+ sleep 3
149+ done
150+
151+ kubectl wait --timeout=1m --for=condition=ready pod -l app.kubernetes.io/name=konk-service,app.kubernetes.io/component=apiservice-test
134152 - name : Print failure
135153 if : ${{ failure() }}
136154 run : |
You can’t perform that action at this time.
0 commit comments