apiVersion: v1 kind: ConfigMap metadata: name: nextcloud-configmap data: config.php: | array ( 0 => 'globalsiteselector', ), 'apps_paths' => array ( 0 => array ( 'path' => '/var/www/html/apps', 'url' => '/apps', 'writable' => false, ), 1 => array ( 'path' => '/var/www/html/custom_apps', 'url' => '/custom_apps', 'writable' => true, ), ), 'appstoreenabled' => false, 'config_is_read_only' => true, 'csrf.disabled' => true, 'datadirectory' => '/var/www/html/data', 'dbhost' => '$dbhost', 'dbname' => '$dbname', 'dbpassword' => 'dbpassword', 'dbport' => '$dbport', 'dbtableprefix' => 'oc_', 'dbtype' => 'mysql', 'dbuser' => '$dbuser', 'default_phone_region' => 'SE', 'forcessl' => true, 'gs.enabled' => 'true', 'gs.federation' => 'global', 'gs.trustedHosts' => ['*.sunet.se'], 'installed' => true, 'instanceid' => '$instanceid', 'integrity.check.disabled' => true, 'log_type' => 'file', 'loglevel' => 0, 'lookup_server' => '$lookup_server', 'mail_domain' => '$mail_domain', 'mail_from_address' => '$mail_from_address', 'mail_sendmailmode' => 'smtp', 'mail_smtpauth' => 1, 'mail_smtpauthtype' => 'LOGIN', 'mail_smtphost' => '$mail_smtphost', 'mail_smtpmode' => 'smtp', 'mail_smtpname' => '$mail_smtpname ', 'mail_smtppassword' => '$mail_smtppassword', 'mail_smtpport' => '587', 'mail_smtpsecure' => 'tls', 'mail_template_class' => 'OCA\DriveEmailTemplate\EMailTemplate', 'memcache.distributed' => '\\OC\\Memcache\\Redis', 'memcache.local' => '\\OC\\Memcache\\APCu', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'mysql.utf8mb4' => true, 'objectstore' => array ( 'class' => '\\OC\\Files\\ObjectStore\\S3', 'arguments' => array ( 'autocreate' => false, 'bucket' => '$s3_bucket', 'hostname' => '$s3_hostname', 'key' => '$s3_key', 'legacy_auth' => false, 'objectPrefix' => 'urn:oid:', 'port' => '', 'region' => '$s3_region', 'secret' => '$s3_secret', 'use_path_style' => true, 'use_ssl' => true, ), ), 'overwrite.cli.url' => 'https://$site_name', 'overwritehost' => '$site_name', 'overwriteprotocol' => 'https', 'passwordsalt' => '$passwordsalt', 'secret' => '$secret', 'redis' => array ( 'host' => '$redis_host', 'port' => 6379, ), 'skeletondirectory' => '', 'templatedirectory' => '', 'trusted_domains' => array ( 0 => '$trusted_domains' ), 'trusted_proxies' => array ( 0 => '10.0.0.0/8' ), 'twofactor_enforced' => 'true', 'twofactor_enforced_groups' => array ( 0 => 'admin', ), 'updatechecker' => false, 'version' => '$version', );