added mounted config file as configmap

This commit is contained in:
2026-01-07 19:03:20 +01:00
parent d00c163b62
commit 85a95bdff6
+20
View File
@@ -20,6 +20,20 @@ metadata:
labels:
app.kubernetes.io/name: romm
---
apiVersion: v1
kind: ConfigMap
metadata:
name: romm-config-file
namespace: arcade-system
data:
config.yml: |
# ROMM Configuration File
# Most settings are handled via environment variables in the deployment.
# This file satisfies the requirement for the config.yml to be present.
romm:
# You can add specific overrides here if needed
# Reference: https://docs.romm.app/4.5.0/Getting-Started/Configuration-File/
---
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -177,6 +191,9 @@ spec:
mountPath: /romm/resources
- name: config
mountPath: /romm/config
- name: config-file
mountPath: /romm/config/config.yml
subPath: config.yml
livenessProbe:
httpGet:
path: /api/heartbeat
@@ -200,6 +217,9 @@ spec:
- name: config
persistentVolumeClaim:
claimName: romm-config
- name: config-file
configMap:
name: romm-config-file
---
apiVersion: v1
kind: Service