Repository navigation
Add guest feature in admin doku - #1257
Heiko-Pohl wants to merge 3 commits into
Conversation
…nted and linked to it
|
|
||
| ## Prerequisites | ||
|
|
||
| - A running OpenCloud deployment based on `opencloud-compose`. |
There was a problem hiding this comment.
Would it make sense to add a link to the [opencloud-compose repository](https://github.com/opencloud-eu/opencloud-compose) here? It might be helpful for readers.
| Treat the service account secret like a password. Do not share it. | ||
| ::: | ||
|
|
||
| ## Enable the Guest Feature |
There was a problem hiding this comment.
I tested this with a fresh OpenCloud 9.0.0 deployment using opencloud-compose, and the Guest Feature worked by simply setting OC_ENABLE_GUEST_LINKS=true in .env, without creating custom/guest.yml.
I also confirmed that the guest service-account credentials were already present in the generated opencloud.yaml, even though the corresponding environment variables were not set.
Could we clarify whether the additional Compose configuration is necessary for fresh installations, or only for specific scenarios such as upgrades?
There was a problem hiding this comment.
OC_ENABLE_GUEST_LINKS is already in opencloud-compose. see https://github.com/opencloud-eu/opencloud-compose/pull/409/changes
We can delete creating custom/guest.yml and write just set OC_ENABLE_GUEST_LINKS=true
|
@asaah262 Thanks for testing! You’re right about the service account: on fresh 9.0.0 installs opencloud init already writes auth_guest.service_account, so I’ll drop the env vars and only point to the config migration for upgrades. Regarding .env: in the current docker-compose.yml OC_ENABLE_GUEST_LINKS isn’t forwarded to the container. Could you check docker compose exec opencloud printenv OC_ENABLE_GUEST_LINKS on your setup? If it returns true, I’ll simplify the guide accordingly. |
|
@Heiko-Pohl Thanks for the clarification! I double-checked my The variable is already forwarded in OC_ENABLE_GUEST_LINKS: "${OC_ENABLE_GUEST_LINKS:-false}"I enabled it by setting I'm using |
Adding guest feature in admin doku