fix: use subPath mounts for homepage config files
This commit is contained in:
@@ -24,17 +24,27 @@ spec:
|
||||
env:
|
||||
- name: HOMEPAGE_ALLOWED_HOSTS
|
||||
value: "homepage.net-scope.org"
|
||||
- name: HOMEPAGE_CONFIG_DIR
|
||||
value: "/config"
|
||||
- name: LOG_TARGETS
|
||||
value: "stdout"
|
||||
volumeMounts:
|
||||
- name: app-data
|
||||
mountPath: /app/config
|
||||
- name: config-files
|
||||
mountPath: /config
|
||||
- name: logs
|
||||
mountPath: /config/logs
|
||||
mountPath: /app/config/settings.yaml
|
||||
subPath: settings.yaml
|
||||
- name: config-files
|
||||
mountPath: /app/config/services.yaml
|
||||
subPath: services.yaml
|
||||
- name: config-files
|
||||
mountPath: /app/config/bookmarks.yaml
|
||||
subPath: bookmarks.yaml
|
||||
- name: config-files
|
||||
mountPath: /app/config/widgets.yaml
|
||||
subPath: widgets.yaml
|
||||
- name: config-files
|
||||
mountPath: /app/config/docker.yaml
|
||||
subPath: docker.yaml
|
||||
- name: config-files
|
||||
mountPath: /app/config/kubernetes.yaml
|
||||
subPath: kubernetes.yaml
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
@@ -49,5 +59,3 @@ spec:
|
||||
- name: config-files
|
||||
configMap:
|
||||
name: homepage-config
|
||||
- name: logs
|
||||
emptyDir: {}
|
||||
|
||||
Reference in New Issue
Block a user