fixed and tweaked glance app
This commit is contained in:
@@ -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 # Истинно черный фон
|
||||
|
||||
@@ -56,7 +56,7 @@ spec:
|
||||
readOnly: true
|
||||
resources:
|
||||
requests:
|
||||
memory: "10Mi"
|
||||
memory: "30Mi"
|
||||
cpu: "20m"
|
||||
limits:
|
||||
memory: "100Mi"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user