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