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" scope: "openid profile email stackspin_roles"
secretName: stackspin-forgejo-oauth-variables secretName: stackspin-forgejo-oauth-variables
redirectUris: redirectUris:
- https://forge.${domain}/user/oauth2/Stackspin/callback - https://${forgejo_domain}/user/oauth2/Stackspin/callback
tokenEndpointAuthMethod: client_secret_post tokenEndpointAuthMethod: client_secret_post

View File

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

View File

@ -53,8 +53,8 @@ data:
target: 1.1.1.1:53 target: 1.1.1.1:53
interval: 60s interval: 60s
ui: ui:
header: "FTT Monitor" header: "${org_name} Monitor"
title: "FTT Monitoring" title: "${org_name} Monitoring"
default-endpoint: &defaults default-endpoint: &defaults
group: FTT group: FTT
interval: 2m interval: 2m
@ -64,45 +64,59 @@ data:
- name: "Nextcloud" - name: "Nextcloud"
<<: *defaults <<: *defaults
group: "Stackspout" group: "Stackspout"
url: "https://files.ftt.gmbh" url: "https://files.${domain}/status.php"
- name: "Zulip" - name: "Zulip"
<<: *defaults <<: *defaults
group: "Stackspout" group: "Stackspout"
url: "https://chat.ftt.gmbh" url: "https://chat.${domain}"
- name: "Vikunja" - name: "Vikunja"
<<: *defaults <<: *defaults
group: "Stackspout" group: "Stackspout"
url: "https://do.ftt.gmbh" url: "https://do.${domain}"
- name: "HedgeDoc" - name: "HedgeDoc"
<<: *defaults <<: *defaults
group: "Stackspout" group: "Stackspout"
url: "https://note.ftt.gmbh" url: "https://note.${domain}"
- name: "InvoiceNinja" - name: "InvoiceNinja"
url: "https://ninja.ftt.gmbh" url: "https://ninja.${domain}"
<<: *defaults <<: *defaults
group: "Stackspout" group: "Stackspout"
- name: "Zammad" - name: "Zammad"
url: "https://support.ftt.gmbh" url: "https://support.${domain}"
<<: *defaults <<: *defaults
group: "Stackspout" group: "Stackspout"
- name: "Forgejo Repositories" - name: "Forgejo Repositories"
url: "https://forge.ftt.gmbh" url: "https://forge.${domain}"
<<: *defaults <<: *defaults
group: "Stackspout" group: "Stackspout"
- name: "NAS"
url: "https://nas.ftt.gmbh" - name: "Mailserver STARTTLS"
url: "starttls://${outgoing_mail_smtp_host}:587"
<<: *defaults <<: *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" - name: "FTT Homepage"
url: "https://ftt.gmbh" url: "https://${domain}"
<<: *defaults <<: *defaults
group: "FTT" group: "FTT"
- name: "FTT Teampage" - name: "FTT Teampage"
url: "https://ftt.gmbh/team" url: "https://${domain}/team"
<<: *defaults <<: *defaults
group: "FTT" group: "FTT"
- name: "FTT Teampage EN" - name: "FTT Teampage EN"
url: "https://ftt.gmbh/en/team" url: "https://${domain}/en/team"
<<: *defaults <<: *defaults
group: "FTT" group: "FTT"
- name: "Main Admin Panel" - name: "Main Admin Panel"
@ -113,14 +127,3 @@ data:
url: "https://ns2.iridion.it:999" url: "https://ns2.iridion.it:999"
<<: *defaults <<: *defaults
group: "Iridion" 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"