chaijunkin / home-ops

K3s Cluster powered by proxmox
Do What The F*ck You Want To Public License
3 stars 0 forks source link

feat(helm)!: Update chart nextcloud ( 4.6.10 → 5.5.6 ) - autoclosed #207

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 5 months ago

This PR contains the following updates:

Package Update Change
nextcloud (source) major 4.6.10 -> 5.5.6

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

nextcloud/helm (nextcloud) ### [`v5.5.6`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.5.6) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.5.5...nextcloud-5.5.6) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - Don't require `nodePort` to template if none is specified by [@​jessebot](https://redirect.github.com/jessebot) in [https://github.com/nextcloud/helm/pull/606](https://redirect.github.com/nextcloud/helm/pull/606) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.5.5...nextcloud-5.5.6 ### [`v5.5.5`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.5.5) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.5.4...nextcloud-5.5.5) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - Add nodeSelector, tolerations and affinity to metrics deployment by [@​SwitzerChees](https://redirect.github.com/SwitzerChees) in [https://github.com/nextcloud/helm/pull/534](https://redirect.github.com/nextcloud/helm/pull/534) #### New Contributors - [@​SwitzerChees](https://redirect.github.com/SwitzerChees) made their first contribution in [https://github.com/nextcloud/helm/pull/534](https://redirect.github.com/nextcloud/helm/pull/534) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.5.4...nextcloud-5.5.5 ### [`v5.5.4`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.5.4) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.5.3...nextcloud-5.5.4) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - update: 29.0.6 by [@​terop](https://redirect.github.com/terop) in [https://github.com/nextcloud/helm/pull/627](https://redirect.github.com/nextcloud/helm/pull/627) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.5.3...nextcloud-5.5.4 ### [`v5.5.3`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.5.3) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.5.2...nextcloud-5.5.3) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - update: 29.0.5 by [@​terop](https://redirect.github.com/terop) in [https://github.com/nextcloud/helm/pull/624](https://redirect.github.com/nextcloud/helm/pull/624) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.5.2...nextcloud-5.5.3 ### [`v5.5.2`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.5.2) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.5.1...nextcloud-5.5.2) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - fix [#​508](https://redirect.github.com/nextcloud/helm/issues/508) by checking for `.Values.nextcloud.existingSecret.tokenKey` by [@​jessebot](https://redirect.github.com/jessebot) in [https://github.com/nextcloud/helm/pull/601](https://redirect.github.com/nextcloud/helm/pull/601) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.5.1...nextcloud-5.5.2 ### [`v5.5.1`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.5.1) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.5.0...nextcloud-5.5.1) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - add `mariadb.global.defaultStorageClass` to values.yaml by [@​jessebot](https://redirect.github.com/jessebot) in [https://github.com/nextcloud/helm/pull/607](https://redirect.github.com/nextcloud/helm/pull/607) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.5.0...nextcloud-5.5.1 ### [`v5.5.0`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.5.0) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.4.0...nextcloud-5.5.0) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - Add better liveness/readiness/startup probe docs that we can easily link to by [@​jessebot](https://redirect.github.com/jessebot) in [https://github.com/nextcloud/helm/pull/605](https://redirect.github.com/nextcloud/helm/pull/605) - Add `metrics.securityContext` and `metrics.podSecurityContext` by [@​jessebot](https://redirect.github.com/jessebot) in [https://github.com/nextcloud/helm/pull/609](https://redirect.github.com/nextcloud/helm/pull/609) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.4.0...nextcloud-5.5.0 ### [`v5.4.0`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.4.0) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.3.2...nextcloud-5.4.0) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed [https://github.com/nextcloud/helm/pull/464](https://redirect.github.com/nextcloud/helm/pull/464): by [@​jessebot](https://redirect.github.com/jessebot) includes the following: - Syncs default config files from the nextcloud/docker repo - Adds S3 and Swift object storage config helm parameters - Adds `nextcloud.trustedDomains` helm parameter **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.3.2...nextcloud-5.4.0 ### [`v5.3.2`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.3.2) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.3.1...nextcloud-5.3.2) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - fix: improve handling of config files by [@​wrenix](https://redirect.github.com/wrenix) in [https://github.com/nextcloud/helm/pull/480](https://redirect.github.com/nextcloud/helm/pull/480) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.3.1...nextcloud-5.3.2 ### [`v5.3.1`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.3.1) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.3.0...nextcloud-5.3.1) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - only set `spec.replicas` in Nextcloud Deployment if `.Values.hpa.enabled` is set to `false` by [@​jessebot](https://redirect.github.com/jessebot) in [https://github.com/nextcloud/helm/pull/596](https://redirect.github.com/nextcloud/helm/pull/596) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.3.0...nextcloud-5.3.1 ### [`v5.3.0`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.3.0) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.2.3...nextcloud-5.3.0) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - Refactor lint-test.yaml GHA Workflow to use a matrix for test job generation; Add `nginx.enabled` and `hpa.enabled` tests by [@​jessebot](https://redirect.github.com/jessebot) in [https://github.com/nextcloud/helm/pull/598](https://redirect.github.com/nextcloud/helm/pull/598) - Add possibility to configure custom `dnsConfig` on the Nextcloud pod by [@​nliechti](https://redirect.github.com/nliechti) in [https://github.com/nextcloud/helm/pull/594](https://redirect.github.com/nextcloud/helm/pull/594) #### New Contributors - [@​nliechti](https://redirect.github.com/nliechti) made their first contribution in [https://github.com/nextcloud/helm/pull/594](https://redirect.github.com/nextcloud/helm/pull/594) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.2.3...nextcloud-5.3.0 ### [`v5.2.3`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.2.3) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.2.2...nextcloud-5.2.3) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - Update pull_request_template.md - remove top header + add link to contributing docs by [@​jessebot](https://redirect.github.com/jessebot) in [https://github.com/nextcloud/helm/pull/593](https://redirect.github.com/nextcloud/helm/pull/593) - add documentation section on adjusting php.ini values by [@​jessebot](https://redirect.github.com/jessebot) in [https://github.com/nextcloud/helm/pull/595](https://redirect.github.com/nextcloud/helm/pull/595) - update: 29.0.4 by [@​terop](https://redirect.github.com/terop) in [https://github.com/nextcloud/helm/pull/599](https://redirect.github.com/nextcloud/helm/pull/599) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.2.2...nextcloud-5.2.3 ### [`v5.2.2`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.2.2) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.2.1...nextcloud-5.2.2) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - Chart update adding Service Annotations ie for LB Use, Issue [#​185](https://redirect.github.com/nextcloud/helm/issues/185) by [@​wethinkagile](https://redirect.github.com/wethinkagile) in [https://github.com/nextcloud/helm/pull/565](https://redirect.github.com/nextcloud/helm/pull/565) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.2.1...nextcloud-5.2.2 ### [`v5.2.1`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.2.1) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.2.0...nextcloud-5.2.1) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - Add: Redis persistent volumes settings to values by [@​f3k-freek](https://redirect.github.com/f3k-freek) in [https://github.com/nextcloud/helm/pull/549](https://redirect.github.com/nextcloud/helm/pull/549) #### New Contributors - [@​f3k-freek](https://redirect.github.com/f3k-freek) made their first contribution in [https://github.com/nextcloud/helm/pull/549](https://redirect.github.com/nextcloud/helm/pull/549) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.2.0...nextcloud-5.2.1 ### [`v5.2.0`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.2.0) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.1.0...nextcloud-5.2.0) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - Add setting of NEXTCLOUD_SERVER and NEXTCLOUD_INFO_APPS for metrics exporter and clean up docs by [@​jessebot](https://redirect.github.com/jessebot) in [https://github.com/nextcloud/helm/pull/587](https://redirect.github.com/nextcloud/helm/pull/587) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.1.0...nextcloud-5.2.0 ### [`v5.1.0`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.1.0) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.0.2...nextcloud-5.1.0) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - add security context config to mariadb-isalive and postgresql-isready… by [@​raynay-r](https://redirect.github.com/raynay-r) in [https://github.com/nextcloud/helm/pull/400](https://redirect.github.com/nextcloud/helm/pull/400) #### New Contributors - [@​raynay-r](https://redirect.github.com/raynay-r) made their first contribution in [https://github.com/nextcloud/helm/pull/400](https://redirect.github.com/nextcloud/helm/pull/400) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.0.2...nextcloud-5.1.0 ### [`v5.0.2`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.0.2) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.0.1...nextcloud-5.0.2) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - update: 29.0.3 by [@​provokateurin](https://redirect.github.com/provokateurin) in [https://github.com/nextcloud/helm/pull/586](https://redirect.github.com/nextcloud/helm/pull/586) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.0.1...nextcloud-5.0.2 ### [`v5.0.1`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.0.1) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-5.0.0...nextcloud-5.0.1) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - update: 29.0.2 by [@​provokateurin](https://redirect.github.com/provokateurin) in [https://github.com/nextcloud/helm/pull/585](https://redirect.github.com/nextcloud/helm/pull/585) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-5.0.0...nextcloud-5.0.1 ### [`v5.0.0`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-5.0.0) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-4.6.11...nextcloud-5.0.0) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - Update Postgresql, MariaDB, and Redis subcharts to the latest (⚠️ Major updates) by [@​jessebot](https://redirect.github.com/jessebot) in [https://github.com/nextcloud/helm/pull/580](https://redirect.github.com/nextcloud/helm/pull/580) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-4.6.11...nextcloud-5.0.0 ### [`v4.6.11`](https://redirect.github.com/nextcloud/helm/releases/tag/nextcloud-4.6.11) [Compare Source](https://redirect.github.com/nextcloud/helm/compare/nextcloud-4.6.10...nextcloud-4.6.11) A file sharing server that puts the control and security of your own data back into your hands. #### What's Changed - Include nextcloud service in trusted domains for metrics exporter by [@​darkowlzz](https://redirect.github.com/darkowlzz) in [https://github.com/nextcloud/helm/pull/483](https://redirect.github.com/nextcloud/helm/pull/483) #### New Contributors - [@​darkowlzz](https://redirect.github.com/darkowlzz) made their first contribution in [https://github.com/nextcloud/helm/pull/483](https://redirect.github.com/nextcloud/helm/pull/483) **Full Changelog**: https://github.com/nextcloud/helm/compare/nextcloud-4.6.10...nextcloud-4.6.11

Configuration

📅 Schedule: Branch creation - "on saturday" in timezone Asia/Kuala_Lumpur, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 5 months ago
--- kubernetes/apps/media/nextcloud/app Kustomization: flux-system/nextcloud HelmRelease: media/nextcloud

+++ kubernetes/apps/media/nextcloud/app Kustomization: flux-system/nextcloud HelmRelease: media/nextcloud

@@ -12,13 +12,13 @@

     spec:
       chart: nextcloud
       sourceRef:
         kind: HelmRepository
         name: nextcloud
         namespace: flux-system
-      version: 4.6.10
+      version: 5.5.6
   install:
     remediation:
       retries: 3
   interval: 30m
   maxHistory: 2
   uninstall:
github-actions[bot] commented 5 months ago
--- HelmRelease: media/nextcloud ConfigMap: media/nextcloud-config

+++ HelmRelease: media/nextcloud ConfigMap: media/nextcloud-config

@@ -35,25 +35,12 @@

     deny from all
     </ifModule>
     # section for Apache 2.2 and 2.4
     <ifModule mod_autoindex.c>
     IndexIgnore *
     </ifModule>
-  redis.config.php: |-
-    <?php
-    if (getenv('REDIS_HOST')) {
-      $CONFIG = array (
-        'memcache.distributed' => '\OC\Memcache\Redis',
-        'memcache.locking' => '\OC\Memcache\Redis',
-        'redis' => array(
-          'host' => getenv('REDIS_HOST'),
-          'port' => getenv('REDIS_HOST_PORT') ?: 6379,
-          'password' => getenv('REDIS_HOST_PASSWORD'),
-        ),
-      );
-    }
   apache-pretty-urls.config.php: |-
     <?php
     $CONFIG = array (
       'htaccess.RewriteBase' => '/',
     );
   apcu.config.php: |-
@@ -81,41 +68,197 @@

     <?php
     $autoconfig_enabled = false;
     if (getenv('SQLITE_DATABASE')) {
         $AUTOCONFIG["dbtype"] = "sqlite";
         $AUTOCONFIG["dbname"] = getenv('SQLITE_DATABASE');
         $autoconfig_enabled = true;
+    } elseif (getenv('MYSQL_DATABASE_FILE') && getenv('MYSQL_USER_FILE') && getenv('MYSQL_PASSWORD_FILE') && getenv('MYSQL_HOST')) {
+        $AUTOCONFIG['dbtype'] = 'mysql';
+        $AUTOCONFIG['dbname'] = trim(file_get_contents(getenv('MYSQL_DATABASE_FILE')));
+        $AUTOCONFIG['dbuser'] = trim(file_get_contents(getenv('MYSQL_USER_FILE')));
+        $AUTOCONFIG['dbpass'] = trim(file_get_contents(getenv('MYSQL_PASSWORD_FILE')));
+        $AUTOCONFIG['dbhost'] = getenv('MYSQL_HOST');
+        $autoconfig_enabled = true;
     } elseif (getenv('MYSQL_DATABASE') && getenv('MYSQL_USER') && getenv('MYSQL_PASSWORD') && getenv('MYSQL_HOST')) {
         $AUTOCONFIG["dbtype"] = "mysql";
         $AUTOCONFIG["dbname"] = getenv('MYSQL_DATABASE');
         $AUTOCONFIG["dbuser"] = getenv('MYSQL_USER');
         $AUTOCONFIG["dbpass"] = getenv('MYSQL_PASSWORD');
         $AUTOCONFIG["dbhost"] = getenv('MYSQL_HOST');
         $autoconfig_enabled = true;
+    } elseif (getenv('POSTGRES_DB_FILE') && getenv('POSTGRES_USER_FILE') && getenv('POSTGRES_PASSWORD_FILE') && getenv('POSTGRES_HOST')) {
+        $AUTOCONFIG['dbtype'] = 'pgsql';
+        $AUTOCONFIG['dbname'] = trim(file_get_contents(getenv('POSTGRES_DB_FILE')));
+        $AUTOCONFIG['dbuser'] = trim(file_get_contents(getenv('POSTGRES_USER_FILE')));
+        $AUTOCONFIG['dbpass'] = trim(file_get_contents(getenv('POSTGRES_PASSWORD_FILE')));
+        $AUTOCONFIG['dbhost'] = getenv('POSTGRES_HOST');
+        $autoconfig_enabled = true;
     } elseif (getenv('POSTGRES_DB') && getenv('POSTGRES_USER') && getenv('POSTGRES_PASSWORD') && getenv('POSTGRES_HOST')) {
         $AUTOCONFIG["dbtype"] = "pgsql";
         $AUTOCONFIG["dbname"] = getenv('POSTGRES_DB');
         $AUTOCONFIG["dbuser"] = getenv('POSTGRES_USER');
         $AUTOCONFIG["dbpass"] = getenv('POSTGRES_PASSWORD');
         $AUTOCONFIG["dbhost"] = getenv('POSTGRES_HOST');
         $autoconfig_enabled = true;
     }
     if ($autoconfig_enabled) {
         $AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR') ?: "/var/www/html/data";
     }
+  redis.config.php: |-
+    <?php
+    if (getenv('REDIS_HOST')) {
+      $CONFIG = array(
+        'memcache.distributed' => '\OC\Memcache\Redis',
+        'memcache.locking' => '\OC\Memcache\Redis',
+        'redis' => array(
+          'host' => getenv('REDIS_HOST'),
+          'password' => getenv('REDIS_HOST_PASSWORD_FILE') ? trim(file_get_contents(getenv('REDIS_HOST_PASSWORD_FILE'))) : (string) getenv('REDIS_HOST_PASSWORD'),
+        ),
+      );
+
+      if (getenv('REDIS_HOST_PORT') !== false) {
+        $CONFIG['redis']['port'] = (int) getenv('REDIS_HOST_PORT');
+      } elseif (getenv('REDIS_HOST')[0] != '/') {
+        $CONFIG['redis']['port'] = 6379;
+      }
+    }
+  reverse-proxy.config.php: |-
+    <?php
+    $overwriteHost = getenv('OVERWRITEHOST');
+    if ($overwriteHost) {
+      $CONFIG['overwritehost'] = $overwriteHost;
+    }
+
+    $overwriteProtocol = getenv('OVERWRITEPROTOCOL');
+    if ($overwriteProtocol) {
+      $CONFIG['overwriteprotocol'] = $overwriteProtocol;
+    }
+
+    $overwriteCliUrl = getenv('OVERWRITECLIURL');
+    if ($overwriteCliUrl) {
+      $CONFIG['overwrite.cli.url'] = $overwriteCliUrl;
+    }
+
+    $overwriteWebRoot = getenv('OVERWRITEWEBROOT');
+    if ($overwriteWebRoot) {
+      $CONFIG['overwritewebroot'] = $overwriteWebRoot;
+    }
+
+    $overwriteCondAddr = getenv('OVERWRITECONDADDR');
+    if ($overwriteCondAddr) {
+      $CONFIG['overwritecondaddr'] = $overwriteCondAddr;
+    }
+
+    $trustedProxies = getenv('TRUSTED_PROXIES');
+    if ($trustedProxies) {
+      $CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
+    }
+  s3.config.php: |-
+    <?php
+    if (getenv('OBJECTSTORE_S3_BUCKET')) {
+      $use_ssl = getenv('OBJECTSTORE_S3_SSL');
+      $use_path = getenv('OBJECTSTORE_S3_USEPATH_STYLE');
+      $use_legacyauth = getenv('OBJECTSTORE_S3_LEGACYAUTH');
+      $autocreate = getenv('OBJECTSTORE_S3_AUTOCREATE');
+      $CONFIG = array(
+        'objectstore' => array(
+          'class' => '\OC\Files\ObjectStore\S3',
+          'arguments' => array(
+            'bucket' => getenv('OBJECTSTORE_S3_BUCKET'),
+            'region' => getenv('OBJECTSTORE_S3_REGION') ?: '',
+            'hostname' => getenv('OBJECTSTORE_S3_HOST') ?: '',
+            'port' => getenv('OBJECTSTORE_S3_PORT') ?: '',
+            'storageClass' => getenv('OBJECTSTORE_S3_STORAGE_CLASS') ?: '',
+            'objectPrefix' => getenv("OBJECTSTORE_S3_OBJECT_PREFIX") ? getenv("OBJECTSTORE_S3_OBJECT_PREFIX") : "urn:oid:",
+            'autocreate' => (strtolower($autocreate) === 'false' || $autocreate == false) ? false : true,
+            'use_ssl' => (strtolower($use_ssl) === 'false' || $use_ssl == false) ? false : true,
+            // required for some non Amazon S3 implementations
+            'use_path_style' => $use_path == true && strtolower($use_path) !== 'false',
+            // required for older protocol versions
+            'legacy_auth' => $use_legacyauth == true && strtolower($use_legacyauth) !== 'false'
+          )
+        )
+      );
+
+      if (getenv('OBJECTSTORE_S3_KEY_FILE')) {
+        $CONFIG['objectstore']['arguments']['key'] = trim(file_get_contents(getenv('OBJECTSTORE_S3_KEY_FILE')));
+      } elseif (getenv('OBJECTSTORE_S3_KEY')) {
+        $CONFIG['objectstore']['arguments']['key'] = getenv('OBJECTSTORE_S3_KEY');
+      } else {
+        $CONFIG['objectstore']['arguments']['key'] = '';
+      }
+
+      if (getenv('OBJECTSTORE_S3_SECRET_FILE')) {
+        $CONFIG['objectstore']['arguments']['secret'] = trim(file_get_contents(getenv('OBJECTSTORE_S3_SECRET_FILE')));
+      } elseif (getenv('OBJECTSTORE_S3_SECRET')) {
+        $CONFIG['objectstore']['arguments']['secret'] = getenv('OBJECTSTORE_S3_SECRET');
+      } else {
+        $CONFIG['objectstore']['arguments']['secret'] = '';
+      }
+
+      if (getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE')) {
+        $CONFIG['objectstore']['arguments']['sse_c_key'] = trim(file_get_contents(getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE')));
+      } elseif (getenv('OBJECTSTORE_S3_SSE_C_KEY')) {
+        $CONFIG['objectstore']['arguments']['sse_c_key'] = getenv('OBJECTSTORE_S3_SSE_C_KEY');
+      }
+    }
   smtp.config.php: |-
     <?php
     if (getenv('SMTP_HOST') && getenv('MAIL_FROM_ADDRESS') && getenv('MAIL_DOMAIN')) {
       $CONFIG = array (
         'mail_smtpmode' => 'smtp',
         'mail_smtphost' => getenv('SMTP_HOST'),
         'mail_smtpport' => getenv('SMTP_PORT') ?: (getenv('SMTP_SECURE') ? 465 : 25),
         'mail_smtpsecure' => getenv('SMTP_SECURE') ?: '',
-        'mail_smtpauth' => getenv('SMTP_NAME') && getenv('SMTP_PASSWORD'),
+        'mail_smtpauth' => getenv('SMTP_NAME') && (getenv('SMTP_PASSWORD') || getenv('SMTP_PASSWORD_FILE')),
         'mail_smtpauthtype' => getenv('SMTP_AUTHTYPE') ?: 'LOGIN',
         'mail_smtpname' => getenv('SMTP_NAME') ?: '',
-        'mail_smtppassword' => getenv('SMTP_PASSWORD') ?: '',
         'mail_from_address' => getenv('MAIL_FROM_ADDRESS'),
         'mail_domain' => getenv('MAIL_DOMAIN'),
       );
-    }
-
+
+      if (getenv('SMTP_PASSWORD_FILE')) {
+          $CONFIG['mail_smtppassword'] = trim(file_get_contents(getenv('SMTP_PASSWORD_FILE')));
+      } elseif (getenv('SMTP_PASSWORD')) {
+          $CONFIG['mail_smtppassword'] = getenv('SMTP_PASSWORD');
+      } else {
+          $CONFIG['mail_smtppassword'] = '';
+      }
+    }
+  swift.config.php: |-
+    <?php
+    if (getenv('OBJECTSTORE_SWIFT_URL')) {
+        $autocreate = getenv('OBJECTSTORE_SWIFT_AUTOCREATE');
+      $CONFIG = array(
+        'objectstore' => [
+          'class' => 'OC\\Files\\ObjectStore\\Swift',
+          'arguments' => [
+            'autocreate' => $autocreate == true && strtolower($autocreate) !== 'false',
+            'user' => [
+              'name' => getenv('OBJECTSTORE_SWIFT_USER_NAME'),
+              'password' => getenv('OBJECTSTORE_SWIFT_USER_PASSWORD'),
+              'domain' => [
+                'name' => (getenv('OBJECTSTORE_SWIFT_USER_DOMAIN')) ?: 'Default',
+              ],
+            ],
+            'scope' => [
+              'project' => [
+                'name' => getenv('OBJECTSTORE_SWIFT_PROJECT_NAME'),
+                'domain' => [
+                  'name' => (getenv('OBJECTSTORE_SWIFT_PROJECT_DOMAIN')) ?: 'Default',
+                ],
+              ],
+            ],
+            'serviceName' => (getenv('OBJECTSTORE_SWIFT_SERVICE_NAME')) ?: 'swift',
+            'region' => getenv('OBJECTSTORE_SWIFT_REGION'),
+            'url' => getenv('OBJECTSTORE_SWIFT_URL'),
+            'bucket' => getenv('OBJECTSTORE_SWIFT_CONTAINER_NAME'),
+          ]
+        ]
+      );
+    }
+  upgrade-disable-web.config.php: |-
+    <?php
+    $CONFIG = array (
+      'upgrade.disable-web' => true,
+    );
+
--- HelmRelease: media/nextcloud Deployment: media/nextcloud

+++ HelmRelease: media/nextcloud Deployment: media/nextcloud

@@ -23,19 +23,19 @@

     metadata:
       labels:
         app.kubernetes.io/name: nextcloud
         app.kubernetes.io/instance: nextcloud
         app.kubernetes.io/component: app
       annotations:
-        nextcloud-config-hash: 89e1d11d5722438ab03c970c1f86826724fecffa22c695f8d2be4d43465dcc24
+        nextcloud-config-hash: 2b81d5c2a68177515d9b7e56a1eea763500cafb8f9d0147463819311437e8d7d
         php-config-hash: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
         hooks-hash: 9525c2748a6c7cd0e28ec740623d0b3fa5a75c83b51ccfd136bc89c76737b204
     spec:
       containers:
       - name: nextcloud
-        image: nextcloud:29.0.1-apache
+        image: nextcloud:29.0.6-apache
         imagePullPolicy: IfNotPresent
         lifecycle:
           postStart:
             exec:
               command:
               - /bin/sh
@@ -151,14 +151,26 @@

           mountPath: /var/www/html/config/autoconfig.php
           subPath: autoconfig.php
         - name: nextcloud-config
           mountPath: /var/www/html/config/redis.config.php
           subPath: redis.config.php
         - name: nextcloud-config
+          mountPath: /var/www/html/config/reverse-proxy.config.php
+          subPath: reverse-proxy.config.php
+        - name: nextcloud-config
+          mountPath: /var/www/html/config/s3.config.php
+          subPath: s3.config.php
+        - name: nextcloud-config
           mountPath: /var/www/html/config/smtp.config.php
           subPath: smtp.config.php
+        - name: nextcloud-config
+          mountPath: /var/www/html/config/swift.config.php
+          subPath: swift.config.php
+        - name: nextcloud-config
+          mountPath: /var/www/html/config/upgrade-disable-web.config.php
+          subPath: upgrade-disable-web.config.php
       initContainers:
       - envFrom:
         - secretRef:
             name: nextcloud-secret
         image: ghcr.io/onedr0p/postgres-init:16
         name: init-db