2026-07-04 19:35:08 +00:00
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: ConfigMap
|
|
|
|
|
metadata:
|
|
|
|
|
name: opencloud-config
|
|
|
|
|
namespace: opencloud
|
|
|
|
|
data:
|
|
|
|
|
opencloud.yaml: |
|
2026-07-05 15:41:56 +00:00
|
|
|
# OpenCloud Minimal Configuration
|
|
|
|
|
# Only non-default settings - environment variables override these
|
2026-07-05 20:47:34 +00:00
|
|
|
# Using built-in IDM for user/group storage (IDM provides internal LDAP on localhost:9125)
|
|
|
|
|
|
|
|
|
|
# Graph service - connect to IDM's internal LDAP server
|
|
|
|
|
graph:
|
|
|
|
|
identity:
|
|
|
|
|
ldap:
|
2026-07-05 20:49:14 +00:00
|
|
|
uri: ldap://localhost:9236
|
2026-07-05 20:47:34 +00:00
|
|
|
base_dn: o=libregraph-idm
|
|
|
|
|
insecure: true
|
|
|
|
|
bind_dn: uid=libregraph,ou=sysusers,o=libregraph-idm
|
|
|
|
|
bind_password: ${OC_IDM_IDM_PASSWORD}
|
|
|
|
|
user_base_dn: ou=users,o=libregraph-idm
|
|
|
|
|
group_base_dn: ou=groups,o=libregraph-idm
|
2026-07-05 15:41:56 +00:00
|
|
|
|
|
|
|
|
# Proxy service - OIDC configuration (already in env vars, kept for reference)
|
2026-07-04 19:35:08 +00:00
|
|
|
proxy:
|
|
|
|
|
oidc:
|
|
|
|
|
issuer: https://auth.basicstack.de
|
|
|
|
|
insecure: false
|
2026-07-05 08:38:07 +00:00
|
|
|
auto_provision_accounts: true
|
2026-07-05 13:39:15 +00:00
|
|
|
user_oidc_claim: preferred_username
|
|
|
|
|
enable_basic_auth: false
|
2026-07-04 19:35:08 +00:00
|
|
|
|
2026-07-05 20:47:34 +00:00
|
|
|
# Users service - connect to IDM's internal LDAP
|
|
|
|
|
users:
|
|
|
|
|
drivers:
|
|
|
|
|
ldap:
|
2026-07-05 20:49:14 +00:00
|
|
|
uri: ldap://localhost:9236
|
2026-07-05 20:47:34 +00:00
|
|
|
base_dn: o=libregraph-idm
|
|
|
|
|
insecure: true
|
|
|
|
|
bind_dn: uid=reva,ou=sysusers,o=libregraph-idm
|
|
|
|
|
bind_password: ${OC_IDM_REVA_PASSWORD}
|
|
|
|
|
user_base_dn: ou=users,o=libregraph-idm
|
|
|
|
|
user_filter: (objectClass=inetOrgPerson)
|
|
|
|
|
user_object_class: inetOrgPerson
|
|
|
|
|
|
|
|
|
|
# Groups service - connect to IDM's internal LDAP
|
|
|
|
|
groups:
|
|
|
|
|
drivers:
|
|
|
|
|
ldap:
|
2026-07-05 20:49:14 +00:00
|
|
|
uri: ldap://localhost:9236
|
2026-07-05 20:47:34 +00:00
|
|
|
base_dn: o=libregraph-idm
|
|
|
|
|
insecure: true
|
|
|
|
|
bind_dn: uid=reva,ou=sysusers,o=libregraph-idm
|
|
|
|
|
bind_password: ${OC_IDM_REVA_PASSWORD}
|
|
|
|
|
group_base_dn: ou=groups,o=libregraph-idm
|
|
|
|
|
group_filter: (objectClass=groupOfNames)
|
|
|
|
|
group_object_class: groupOfNames
|
|
|
|
|
|
2026-07-05 15:41:56 +00:00
|
|
|
# IDM service user passwords (required when IDM is enabled and /etc/opencloud is read-only)
|
2026-07-05 15:29:01 +00:00
|
|
|
idm:
|
|
|
|
|
service_user_passwords:
|
|
|
|
|
admin_password: ${OC_IDM_ADMIN_PASSWORD}
|
|
|
|
|
idm_password: ${OC_IDM_IDM_PASSWORD}
|
|
|
|
|
reva_password: ${OC_IDM_REVA_PASSWORD}
|
|
|
|
|
idp_password: ${OC_IDM_IDP_PASSWORD}
|
|
|
|
|
|
2026-07-05 14:03:49 +00:00
|
|
|
# Gateway service - storage configuration
|
|
|
|
|
gateway:
|
|
|
|
|
storage_registry:
|
|
|
|
|
storage_users_mount_id: ${OC_STORAGE_MOUNT_ID}
|
2026-07-05 15:14:26 +00:00
|
|
|
|
|
|
|
|
csp.yaml: |
|
|
|
|
|
directives:
|
|
|
|
|
connect-src:
|
|
|
|
|
- "'self'"
|
|
|
|
|
- "blob:"
|
|
|
|
|
- "https://raw.githubusercontent.com/opencloud-eu/awesome-apps/"
|
|
|
|
|
- "https://update.opencloud.eu/"
|
|
|
|
|
- "https://opencloud.basicstack.de"
|
|
|
|
|
- "https://auth.basicstack.de"
|
|
|
|
|
- "wss://opencloud.basicstack.de"
|
|
|
|
|
- "wss://auth.basicstack.de"
|