Skip to content

Commit 68723c2

Browse files
committed
use proper domain for vaultwarden after data migration
1 parent 1fc9dcc commit 68723c2

File tree

6 files changed

+6
-27
lines changed

6 files changed

+6
-27
lines changed

kubernetes/apps/hydra/vaultwarden/httpRoute-http.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
- name: http-gateway
88
namespace: gateways
99
hostnames:
10-
- pw.dev.thetillhoff.de # TODO change to pw.thetillhoff.de
10+
- pw.thetillhoff.de
1111
rules:
1212
- filters:
1313
- type: RequestRedirect

kubernetes/apps/hydra/vaultwarden/httpRoute-https.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
- name: https-gateway-thetillhoff-de
88
namespace: gateways
99
hostnames:
10-
- pw.dev.thetillhoff.de # TODO change to pw.thetillhoff.de
10+
- pw.thetillhoff.de
1111
rules:
1212
- matches:
1313
- path:

kubernetes/apps/hydra/vaultwarden/statefulset.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ spec:
2525

2626
env:
2727
- name: DOMAIN
28-
value: https://pw.dev.thetillhoff.de
29-
- name: SIGNUPS_DOMAINS_WHITELIST # Setting this ignores SIGNUPS_ALLOWED
30-
value: 'thetillhoff.de'
28+
value: https://pw.thetillhoff.de
29+
# - name: SIGNUPS_DOMAINS_WHITELIST # Setting this ignores SIGNUPS_ALLOWED
30+
# value: 'thetillhoff.de'
3131
- name: SIGNUPS_ALLOWED # This is ignored if SIGNUPS_DOMAINS_WHITELIST is set
3232
value: 'false'
3333
- name: SHOW_PASSWORD_HINT

kubernetes/infrastructure2/resources/gateways/https-gateway-thetillhoff-de.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,6 @@ spec:
4040
mode: Terminate
4141
certificateRefs:
4242
- name: thetillhoff-de-tls-certificate
43-
- name: pw-dev-thetillhoff-de
44-
hostname: "pw.dev.thetillhoff.de"
45-
port: 443
46-
protocol: HTTPS
47-
allowedRoutes:
48-
namespaces:
49-
from: All
50-
tls:
51-
mode: Terminate
52-
certificateRefs:
53-
- name: thetillhoff-de-tls-certificate
5443
- name: pw-thetillhoff-de
5544
hostname: "pw.thetillhoff.de"
5645
port: 443

pulumi/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ const dnsNames = [
8080
"link.thetillhoff.de",
8181
"analytics.thetillhoff.de",
8282
"pw.dev.thetillhoff.de",
83+
"pw.thetillhoff.de",
8384
// "logs.thetillhoff.de",
8485
];
8586

terraform/dns-records.tf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,6 @@ resource "cloudflare_record" "k8s" {
2424
proxied = false
2525
}
2626

27-
# vaultwarden
28-
resource "cloudflare_record" "vaultwarden" {
29-
zone_id = var.cloudflare_zone_id
30-
type = "A"
31-
name = "pw.thetillhoff.de"
32-
content = hcloud_server.kubenode.ipv4_address
33-
ttl = 3600
34-
35-
proxied = false
36-
}
37-
3827
# m365 config
3928
resource "cloudflare_record" "spf" {
4029
zone_id = var.cloudflare_zone_id

0 commit comments

Comments
 (0)