fixed and tweaked glance app

This commit is contained in:
2026-06-14 23:00:29 +02:00
parent dca7ad0902
commit 93171ad8e6
3 changed files with 17 additions and 1 deletions
+2
View File
@@ -56,6 +56,8 @@ data:
glance.yml: |
server:
assets-path: /app/assets
proxied: true
base-url: /glance
theme:
# Перевели #050505 и #e0e0e0 в формат HSL для Glance
background-color: 0 0 2 # Истинно черный фон
+1 -1
View File
@@ -56,7 +56,7 @@ spec:
readOnly: true
resources:
requests:
memory: "10Mi"
memory: "30Mi"
cpu: "20m"
limits:
memory: "100Mi"
+14
View File
@@ -9,6 +9,7 @@ spec:
routes:
- match: HostRegexp(`^forust\.xyz$`) && PathPrefix(`/glance`)
kind: Rule
priority: 50
middlewares:
- name: glance-stripprefix
services:
@@ -28,6 +29,19 @@ spec:
routes:
- match: HostRegexp(`^glance\.(workstation|gigaforust)\.internal$`) && PathPrefix(`/glance`)
kind: Rule
middlewares:
- name: glance-stripprefix
priority: 50
services:
- name: glance-service
port: 8080
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: glance-stripprefix
namespace: glance
spec:
stripPrefix:
prefixes:
- /glance