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 <noreply@paperclip.ing>
This commit is contained in:
parent
a3086e7ba7
commit
56d9063a2d
1 changed files with 3 additions and 2 deletions
|
|
@ -73,8 +73,9 @@ spec:
|
||||||
- name: opencloud
|
- name: opencloud
|
||||||
image: opencloudeu/opencloud-rolling:7.2.0
|
image: opencloudeu/opencloud-rolling:7.2.0
|
||||||
command:
|
command:
|
||||||
- opencloud
|
- /bin/sh
|
||||||
- server
|
- -c
|
||||||
|
- "yes | opencloud init --insecure=true --force-overwrite 2>&1 | head -50 || true; opencloud server"
|
||||||
env:
|
env:
|
||||||
# Basic configuration
|
# Basic configuration
|
||||||
- name: OC_URL
|
- name: OC_URL
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue