feat(coder): enable wildcard forwarding
This commit is contained in:
parent
1099646f24
commit
e8b3a42810
2 changed files with 7 additions and 3 deletions
|
@ -17,8 +17,8 @@ resource "hcloud_load_balancer_target" "k8s_lb_target" {
|
||||||
use_private_ip = true
|
use_private_ip = true
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "hcloud_managed_certificate" "icb4dc0de_20230417_001" {
|
resource "hcloud_managed_certificate" "icb4dc0de_20230613_001" {
|
||||||
name = "icb4dc0de_20230417_001"
|
name = "icb4dc0de_20230613_001"
|
||||||
domain_names = [
|
domain_names = [
|
||||||
"icb4dc0.de",
|
"icb4dc0.de",
|
||||||
"*.icb4dc0.de",
|
"*.icb4dc0.de",
|
||||||
|
@ -26,6 +26,7 @@ resource "hcloud_managed_certificate" "icb4dc0de_20230417_001" {
|
||||||
"*.buildr.icb4dc0.de",
|
"*.buildr.icb4dc0.de",
|
||||||
"*.prskr.icb4dc0.de",
|
"*.prskr.icb4dc0.de",
|
||||||
"*.fider.icb4dc0.de",
|
"*.fider.icb4dc0.de",
|
||||||
|
"*.ide.icb4dc0.de",
|
||||||
]
|
]
|
||||||
labels = {
|
labels = {
|
||||||
}
|
}
|
||||||
|
@ -57,7 +58,7 @@ resource "hcloud_load_balancer_service" "k8s_lb_svc_https" {
|
||||||
http {
|
http {
|
||||||
redirect_http = true
|
redirect_http = true
|
||||||
certificates = [
|
certificates = [
|
||||||
hcloud_managed_certificate.icb4dc0de_20230417_001.id
|
hcloud_managed_certificate.icb4dc0de_20230613_001.id
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,10 @@ coder:
|
||||||
ingress:
|
ingress:
|
||||||
enable: true
|
enable: true
|
||||||
host: ide.icb4dc0.de
|
host: ide.icb4dc0.de
|
||||||
|
wildcardHost: "*.ide.icb4dc0.de"
|
||||||
env:
|
env:
|
||||||
|
- name: CODER_WILDCARD_ACCESS_URL
|
||||||
|
value: '*.ide.icb4dc0.de'
|
||||||
- name: CODER_ACCESS_URL
|
- name: CODER_ACCESS_URL
|
||||||
value: "https://ide.icb4dc0.de"
|
value: "https://ide.icb4dc0.de"
|
||||||
- name: CODER_PG_CONNECTION_URL
|
- name: CODER_PG_CONNECTION_URL
|
||||||
|
|
Loading…
Reference in a new issue