Mount opencloud-config ConfigMap to /etc/opencloud

Added volume mount for opencloud-config ConfigMap at /etc/opencloud
so OpenCloud services can read the opencloud.yaml configuration file.

This follows OpenCloud's standard configuration pattern:
- opencloud.yaml provides global defaults
- Environment variables override file configuration
- ConfigMap mounted at /etc/opencloud (container default)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
CTO Agent 2026-07-05 13:32:47 +00:00
parent f0e4df95a1
commit 1e22b74a55

View file

@ -448,6 +448,8 @@ spec:
volumeMounts:
- name: opencloud-data
mountPath: /var/lib/opencloud
- name: opencloud-config
mountPath: /etc/opencloud
resources:
requests:
memory: "512Mi"
@ -474,6 +476,9 @@ spec:
- name: opencloud-data
persistentVolumeClaim:
claimName: opencloud-data
- name: opencloud-config
configMap:
name: opencloud-config
---
# Ingress
apiVersion: networking.k8s.io/v1