Skip to content

Commit 38dff96

Browse files
committed
Enable mTLS for e2e tests and HTTPS for KinD cluster
1 parent dae4acc commit 38dff96

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

config/e2e/config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ data:
77
kuberay:
88
rayDashboardOAuthEnabled: false
99
ingressDomain: "kind"
10-
mTLSEnabled: false
10+
mTLSEnabled: true
11+
certGeneratorImage: quay.io/project-codeflare/ray:latest-py39-cu118
1112
appwrapper:
1213
enabled: true

test/e2e/kind.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ nodes:
2828
- containerPort: 80
2929
hostPort: 80
3030
protocol: TCP
31+
- containerPort: 443
32+
hostPort: 443
33+
protocol: TCP
3134
kubeadmConfigPatches:
3235
- |
3336
kind: InitConfiguration
@@ -39,4 +42,5 @@ EOF
3942
echo "Deploying Ingress controller into KinD cluster"
4043
curl https://github.com/raw/kubernetes/ingress-nginx/"${INGRESS_NGINX_VERSION}"/deploy/static/provider/kind/deploy.yaml | sed "s/--publish-status-address=localhost/--report-node-internal-ip-address\\n - --status-update-interval=10/g" | kubectl apply -f -
4144
kubectl annotate ingressclass nginx "ingressclass.kubernetes.io/is-default-class=true"
45+
kubectl patch deploy --type json --patch '[{"op":"add","path": "/spec/template/spec/containers/0/args/-","value":"--enable-ssl-passthrough"}]' ingress-nginx-controller -n ingress-nginx
4246
kubectl -n ingress-nginx wait --timeout=300s --for=condition=Available deployments --all

0 commit comments

Comments
 (0)