Moved to staging domain

This commit is contained in:
Dreaded_X 2024-11-18 23:57:22 +01:00
parent 9fa2d155b5
commit 4905c8ddd7
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4
5 changed files with 25 additions and 7 deletions

View File

@ -17,7 +17,7 @@ spec:
enabled: true enabled: true
tls: tls:
enabled: true enabled: true
secret: ${domain/\./-}-tls secret: ${domain//./-}-tls
traefikCRD: traefikCRD:
enabled: true enabled: true
entryPoints: entryPoints:
@ -49,8 +49,8 @@ spec:
value: "JustATest" value: "JustATest"
session: session:
cookies: cookies:
- subdomain: login - subdomain: login${subdomain}
domain: ${domain} domain: ${topdomain}
storage: storage:
postgres: postgres:

View File

@ -16,4 +16,4 @@ spec:
- name: api@internal - name: api@internal
kind: TraefikService kind: TraefikService
tls: tls:
secretName: ${domain/\./-}-tls secretName: ${domain//./-}-tls

View File

@ -55,4 +55,4 @@ spec:
- name: whoami - name: whoami
port: 80 port: 80
tls: tls:
secretName: ${domain/\./-}-tls secretName: ${domain//./-}-tls

View File

@ -17,7 +17,10 @@ spec:
name: flux-system name: flux-system
postBuild: postBuild:
substitute: substitute:
domain: huizinga.dev domain: staging.huizinga.dev
# Specifically for authelia
subdomain: .staging
topdomain: huizinga.dev
path: ./apps path: ./apps
prune: true prune: true
wait: true wait: true

View File

@ -8,7 +8,22 @@ spec:
issuerRef: issuerRef:
name: letsencrypt name: letsencrypt
kind: ClusterIssuer kind: ClusterIssuer
commonName: "*.huizinga.dev" commonName: "huizinga.dev"
dnsNames: dnsNames:
- "huizinga.dev" - "huizinga.dev"
- "*.huizinga.dev" - "*.huizinga.dev"
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: staging-huizinga-dev
namespace: default
spec:
secretName: staging-huizinga-dev-tls
issuerRef:
name: letsencrypt
kind: ClusterIssuer
commonName: "staging.huizinga.dev"
dnsNames:
- "staging.huizinga.dev"
- "*.staging.huizinga.dev"