Make glance proxied

This commit is contained in:
Daniel Cosme
2026-05-07 13:28:44 -04:00
parent 2450a25fac
commit 868fb6fac8
3 changed files with 2 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ data:
glance.yml: | glance.yml: |
server: server:
assets-path: /app/assets assets-path: /app/assets
# proxied: true proxied: true
# auth: # auth:
# secret-key: # this must be set to a random value generated using the secret:make CLI command # secret-key: # this must be set to a random value generated using the secret:make CLI command

View File

@@ -1,6 +1,6 @@
server: server:
assets-path: /app/assets assets-path: /app/assets
# proxied: true proxied: true
# auth: # auth:
# secret-key: # this must be set to a random value generated using the secret:make CLI command # secret-key: # this must be set to a random value generated using the secret:make CLI command

View File

@@ -49,10 +49,6 @@ func Stack() stack.Stack {
} }
func Deployment() apps.Deployment { func Deployment() apps.Deployment {
// MY_SECRET_TOKEN=123456 ?
// Config volume - ReadOnly?
// Assets volume - ReadOnly?
// Mount /etc/localtime (ReadOnly)
configVol := kube.NewVolumeFrom(kube.VolumeSourceConfigMap, "config", config_glance.Name) configVol := kube.NewVolumeFrom(kube.VolumeSourceConfigMap, "config", config_glance.Name)
assetsVol := kube.NewVolumeFrom(kube.VolumeSourceConfigMap, "assets", config_assets.Name) assetsVol := kube.NewVolumeFrom(kube.VolumeSourceConfigMap, "assets", config_assets.Name)
localtimeVol := core.Volume{ localtimeVol := core.Volume{