diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2a0a213..ab4011d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -131,6 +131,9 @@ jobs: while [[ "$(minikube kubectl -- get pods | grep client | grep -v Running)" != "" ]]; do echo "Not ready, waiting..." minikube kubectl -- get pods -o wide + for POD in $(minikube kubectl -- get pods | grep client | awk '{print $1}'); do + minikube kubectl -- logs ${POD} + done sleep 1; done diff --git a/test/cni/example-client-patch.yaml b/test/cni/example-client-patch.yaml new file mode 100644 index 0000000..f8a2799 --- /dev/null +++ b/test/cni/example-client-patch.yaml @@ -0,0 +1,12 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: my-web-client +spec: + template: + spec: + initContainers: + - name: sfunnel-init + image: sfunnel + - name: sfunnel-init-egress + image: sfunnel diff --git a/test/cni/example-patch.yaml b/test/cni/example-svc-patch.yaml similarity index 100% rename from test/cni/example-patch.yaml rename to test/cni/example-svc-patch.yaml diff --git a/test/cni/kustomization.yaml b/test/cni/kustomization.yaml index 7d41cb3..e3e5080 100644 --- a/test/cni/kustomization.yaml +++ b/test/cni/kustomization.yaml @@ -5,7 +5,11 @@ resources: - ../../example/k8s/ patches: - - path: example-patch.yaml + - path: example-svc-patch.yaml target: kind: Deployment name: my-nginx-deployment + - path: example-client-patch.yaml + target: + kind: Deployment + name: my-web-client