Skip to content

Commit 7382ee3

Browse files
committed
update Ingress
1 parent df9be79 commit 7382ee3

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/pr-deploy.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,18 +165,29 @@ jobs:
165165
name: pr${{ env.PR_NUMBER }}
166166
namespace: pr${{ env.PR_NUMBER }}
167167
annotations:
168-
cert-manager.io/cluster-issuer: letsencrypt-prod
168+
cert-manager.io/cluster-issuer: letsencrypt
169169
spec:
170170
tls:
171171
- hosts:
172172
- "pr${{ env.PR_NUMBER }}.${{ secrets.PR_DEPLOYMENTS_DOMAIN }}"
173+
- "*--pr${{ env.PR_NUMBER }}.${{ secrets.PR_DEPLOYMENTS_DOMAIN }}"
173174
secretName: pr${{ env.PR_NUMBER }}-tls
174175
rules:
175176
- host: "pr${{ env.PR_NUMBER }}.${{ secrets.PR_DEPLOYMENTS_DOMAIN }}"
176177
http:
177178
paths:
178179
- pathType: Prefix
179-
path: /
180+
path: "/"
181+
backend:
182+
service:
183+
name: coder
184+
port:
185+
number: 80
186+
- host: "*--pr${{ env.PR_NUMBER }}.${{ secrets.PR_DEPLOYMENTS_DOMAIN }}"
187+
http:
188+
paths:
189+
- pathType: Prefix
190+
path: "/"
180191
backend:
181192
service:
182193
name: coder

0 commit comments

Comments
 (0)