added mounted config file as configmap
This commit is contained in:
@@ -20,6 +20,20 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: romm
|
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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@@ -177,6 +191,9 @@ spec:
|
|||||||
mountPath: /romm/resources
|
mountPath: /romm/resources
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /romm/config
|
mountPath: /romm/config
|
||||||
|
- name: config-file
|
||||||
|
mountPath: /romm/config/config.yml
|
||||||
|
subPath: config.yml
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/heartbeat
|
path: /api/heartbeat
|
||||||
@@ -200,6 +217,9 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: romm-config
|
claimName: romm-config
|
||||||
|
- name: config-file
|
||||||
|
configMap:
|
||||||
|
name: romm-config-file
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Reference in New Issue
Block a user