apps/status: improve domain handling

This commit is contained in:
xeruf 2024-03-24 18:53:12 +03:00
parent 4ac946348c
commit 045bd89386
3 changed files with 33 additions and 30 deletions

View File

@ -17,5 +17,5 @@ spec:
scope: "openid profile email stackspin_roles"
secretName: stackspin-forgejo-oauth-variables
redirectUris:
- https://forge.${domain}/user/oauth2/Stackspin/callback
- https://${forgejo_domain}/user/oauth2/Stackspin/callback
tokenEndpointAuthMethod: client_secret_post

View File

@ -11,14 +11,14 @@ data:
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
hosts:
- host: "forge.${domain}"
- host: "${forgejo_domain}"
paths:
- path: /
pathType: Prefix
tls:
- secretName: forgejo-tls
hosts:
- "forge.${domain}"
- "${forgejo_domain}"
gitea:
admin:
username: "forgejo"
@ -54,7 +54,7 @@ data:
DEFAULT_REPO_UNITS: [repo.code,repo.releases,repo.issues,repo.pulls]
MAX_CREATION_LIMIT: 99
server:
ROOT_URL: "https://forge.${domain}"
ROOT_URL: "https://${forgejo_domain}"
LANDING_PAGE: login
openid:
ENABLE_OPENID_SIGNUP: true

View File

@ -53,8 +53,8 @@ data:
target: 1.1.1.1:53
interval: 60s
ui:
header: "FTT Monitor"
title: "FTT Monitoring"
header: "${org_name} Monitor"
title: "${org_name} Monitoring"
default-endpoint: &defaults
group: FTT
interval: 2m
@ -64,45 +64,59 @@ data:
- name: "Nextcloud"
<<: *defaults
group: "Stackspout"
url: "https://files.ftt.gmbh"
url: "https://files.${domain}/status.php"
- name: "Zulip"
<<: *defaults
group: "Stackspout"
url: "https://chat.ftt.gmbh"
url: "https://chat.${domain}"
- name: "Vikunja"
<<: *defaults
group: "Stackspout"
url: "https://do.ftt.gmbh"
url: "https://do.${domain}"
- name: "HedgeDoc"
<<: *defaults
group: "Stackspout"
url: "https://note.ftt.gmbh"
url: "https://note.${domain}"
- name: "InvoiceNinja"
url: "https://ninja.ftt.gmbh"
url: "https://ninja.${domain}"
<<: *defaults
group: "Stackspout"
- name: "Zammad"
url: "https://support.ftt.gmbh"
url: "https://support.${domain}"
<<: *defaults
group: "Stackspout"
- name: "Forgejo Repositories"
url: "https://forge.ftt.gmbh"
url: "https://forge.${domain}"
<<: *defaults
group: "Stackspout"
- name: "NAS"
url: "https://nas.ftt.gmbh"
- name: "Mailserver STARTTLS"
url: "starttls://${outgoing_mail_smtp_host}:587"
<<: *defaults
group: "Tooling"
interval: 10m
client:
timeout: 5s
conditions:
- "[CONNECTED] == true"
- name: "Mailserver TLS"
url: "tls://${outgoing_mail_smtp_host}:465"
<<: *defaults
interval: 10m
client:
timeout: 5s
conditions:
- "[CONNECTED] == true"
- name: "FTT Homepage"
url: "https://ftt.gmbh"
url: "https://${domain}"
<<: *defaults
group: "FTT"
- name: "FTT Teampage"
url: "https://ftt.gmbh/team"
url: "https://${domain}/team"
<<: *defaults
group: "FTT"
- name: "FTT Teampage EN"
url: "https://ftt.gmbh/en/team"
url: "https://${domain}/en/team"
<<: *defaults
group: "FTT"
- name: "Main Admin Panel"
@ -113,14 +127,3 @@ data:
url: "https://ns2.iridion.it:999"
<<: *defaults
group: "Iridion"
- name: "Fossil Repositories"
url: "https://fossil.ftt.gmbh"
enabled: false
<<: *defaults
group: "Development"
- name: "Firezone"
url: "https://fire.ftt.gmbh"
enabled: false
<<: *defaults
group: "Security"