From 56d9063a2d405054359e0fefd0c9ce329fad2343 Mon Sep 17 00:00:00 2001 From: CTO Agent Date: Sun, 5 Jul 2026 09:02:11 +0000 Subject: [PATCH] Keep init but remove admin password creation Problem: Removing init entirely broke OpenCloud - needs init for config setup. Solution: Keep 'opencloud init' but remove '--admin-password' flag. Changes: - Restored 'opencloud init' command (needed for jwt_secret and config) - Removed '--admin-password' flag (prevents local admin user creation) - IDM_CREATE_DEMO_USERS=false still set (prevents demo users) Result: Init runs to setup config, but no local users are created. Only OIDC auto-provisioned users will exist. Co-Authored-By: Paperclip --- apps/opencloud/opencloud-deployment.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/opencloud/opencloud-deployment.yaml b/apps/opencloud/opencloud-deployment.yaml index fa49157..b620034 100644 --- a/apps/opencloud/opencloud-deployment.yaml +++ b/apps/opencloud/opencloud-deployment.yaml @@ -73,8 +73,9 @@ spec: - name: opencloud image: opencloudeu/opencloud-rolling:7.2.0 command: - - opencloud - - server + - /bin/sh + - -c + - "yes | opencloud init --insecure=true --force-overwrite 2>&1 | head -50 || true; opencloud server" env: # Basic configuration - name: OC_URL