Skip to content

Commit

Permalink
Enable mTLS for e2e tests and HTTPS for KinD cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
sutaakar authored and openshift-merge-bot[bot] committed May 21, 2024
1 parent dae4acc commit e71b554
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/e2e/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ data:
kuberay:
rayDashboardOAuthEnabled: false
ingressDomain: "kind"
mTLSEnabled: false
certGeneratorImage: quay.io/project-codeflare/ray:latest-py39-cu118
appwrapper:
enabled: true
4 changes: 4 additions & 0 deletions test/e2e/kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ nodes:
- containerPort: 80
hostPort: 80
protocol: TCP
- containerPort: 443
hostPort: 443
protocol: TCP
kubeadmConfigPatches:
- |
kind: InitConfiguration
Expand All @@ -39,4 +42,5 @@ EOF
echo "Deploying Ingress controller into KinD cluster"
curl https://raw.githubusercontent.com/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 -
kubectl annotate ingressclass nginx "ingressclass.kubernetes.io/is-default-class=true"
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
kubectl -n ingress-nginx wait --timeout=300s --for=condition=Available deployments --all

0 comments on commit e71b554

Please sign in to comment.