fixed and tweaked glance app
This commit is contained in:
@@ -56,6 +56,8 @@ data:
|
|||||||
glance.yml: |
|
glance.yml: |
|
||||||
server:
|
server:
|
||||||
assets-path: /app/assets
|
assets-path: /app/assets
|
||||||
|
proxied: true
|
||||||
|
base-url: /glance
|
||||||
theme:
|
theme:
|
||||||
# Перевели #050505 и #e0e0e0 в формат HSL для Glance
|
# Перевели #050505 и #e0e0e0 в формат HSL для Glance
|
||||||
background-color: 0 0 2 # Истинно черный фон
|
background-color: 0 0 2 # Истинно черный фон
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ spec:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "10Mi"
|
memory: "30Mi"
|
||||||
cpu: "20m"
|
cpu: "20m"
|
||||||
limits:
|
limits:
|
||||||
memory: "100Mi"
|
memory: "100Mi"
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ spec:
|
|||||||
routes:
|
routes:
|
||||||
- match: HostRegexp(`^forust\.xyz$`) && PathPrefix(`/glance`)
|
- match: HostRegexp(`^forust\.xyz$`) && PathPrefix(`/glance`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
|
priority: 50
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: glance-stripprefix
|
- name: glance-stripprefix
|
||||||
services:
|
services:
|
||||||
@@ -28,6 +29,19 @@ spec:
|
|||||||
routes:
|
routes:
|
||||||
- match: HostRegexp(`^glance\.(workstation|gigaforust)\.internal$`) && PathPrefix(`/glance`)
|
- match: HostRegexp(`^glance\.(workstation|gigaforust)\.internal$`) && PathPrefix(`/glance`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
|
middlewares:
|
||||||
|
- name: glance-stripprefix
|
||||||
|
priority: 50
|
||||||
services:
|
services:
|
||||||
- name: glance-service
|
- name: glance-service
|
||||||
port: 8080
|
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