Skip to content

Commit

Permalink
Change staging app's fqdn to match wildcard cert
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Apr 15, 2024
1 parent 1313379 commit f37f555
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions manifests/profile-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
- name: KEYCLOAK_MEMBERS_GROUP_ID
value: 4eea9c17-f9b1-41eb-8f25-721ae04b66f6
- name: SELF_URL
value: https://profile.staging.apps.thelab.ms
value: https://profile-staging.thelab.ms
- name: DOCUSEAL_URL
value: https://docuseal.apps.thelab.ms
- name: DOCUSEAL_TOKEN
Expand Down Expand Up @@ -76,7 +76,7 @@ spec:
- name: OAUTH2_PROXY_SKIP_AUTH_ROUTES
value: '.*(signup|assets|webhooks|events|\/f\/).*'
- name: OAUTH2_PROXY_REDIRECT_URL
value: "https://profile.staging.apps.thelab.ms/oauth2/callback"
value: "https://profile-staging.thelab.ms/oauth2/callback"

volumes:
- name: keycloak-creds
Expand Down Expand Up @@ -104,3 +104,25 @@ spec:
protocol: TCP
port: 80
targetPort: 8880

---
apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: profile-staging
spec:
virtualhost:
fqdn: profile-staging.thelab.ms
rateLimitPolicy:
local:
requests: 50
unit: second
burst: 50
tls:
secretName: wildcard-cert
routes:
- conditions:
- prefix: /
services:
- name: profile
port: 80

0 comments on commit f37f555

Please sign in to comment.