Add Glance Deployment
This commit is contained in:
9
apps/hydra/glance/configmap-assets.yaml
Normal file
9
apps/hydra/glance/configmap-assets.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
user.css: |
|
||||
main {
|
||||
}
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: glance-assets-configmap
|
||||
namespace: glance
|
||||
@@ -3,6 +3,15 @@ data:
|
||||
glance.yml: |
|
||||
server:
|
||||
assets-path: /app/assets
|
||||
# proxied: true
|
||||
|
||||
# auth:
|
||||
# secret-key: # this must be set to a random value generated using the secret:make CLI command
|
||||
# users:
|
||||
# admin:
|
||||
# password: 123456
|
||||
# svilen:
|
||||
# password: 123456
|
||||
|
||||
theme:
|
||||
# Note: assets are cached by the browser, changes to the CSS file
|
||||
@@ -102,9 +111,6 @@ data:
|
||||
- go-gitea/gitea
|
||||
- immich-app/immich
|
||||
- syncthing/syncthing
|
||||
user.css: |
|
||||
main {
|
||||
}
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: glance-configmap
|
||||
41
apps/hydra/glance/deployment.yaml
Normal file
41
apps/hydra/glance/deployment.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: glance
|
||||
name: glance
|
||||
namespace: glance
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: glance
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: glance
|
||||
spec:
|
||||
containers:
|
||||
- image: glanceapp/glance:v0.8.4
|
||||
name: glance
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- mountPath: /app/config
|
||||
name: config
|
||||
- mountPath: /app/assets
|
||||
name: assets
|
||||
- mountPath: /etc/localtime
|
||||
name: localtime
|
||||
readOnly: true
|
||||
volumes:
|
||||
- configMap:
|
||||
name: glance-configmap
|
||||
name: config
|
||||
- configMap:
|
||||
name: glance-assets-configmap
|
||||
name: assets
|
||||
- hostPath:
|
||||
path: /etc/localtime
|
||||
type: File
|
||||
name: localtime
|
||||
status: {}
|
||||
@@ -4,6 +4,8 @@ metadata:
|
||||
name: glance
|
||||
namespace: glance
|
||||
resources:
|
||||
- configmap.yaml
|
||||
- configmap-assets.yaml
|
||||
- configmap-glance.yaml
|
||||
- deployment.yaml
|
||||
- namespace.yaml
|
||||
- service.yaml
|
||||
|
||||
Reference in New Issue
Block a user