-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collaboration service - envvar issues #9058
Comments
I think the items that need to be changed should be at the top, and items that are unlikely to be changed should be bottom. I'm quite convinced that people in general will look at the first 5-10 options before assuming that the rest are optional and don't need to be touched for an initial approach.
I'm not sure if we can use an empty secret. The idea was to ensure that at least there is a secret available that can be overwritten if needed, so a random-generated secret is populated there early.
This was copied from the original repo so I'm not sure if it needs a specific format or not. Maybe @wkloucek knows.
Same
The collaboration service starts a GRPC server that is connected to reva, so the address is for that service. It's also a bind address, so other services, in particular reva, can access to the collaboration service via GRPC. Side note, I'm not sure if we have a reference service. Except for the specific options for the service, most of the options have been copied from other services. |
I think we need to use the global OCIS_JWT_SECRET together with the local variable
The jwt secret is randomized during
We should add OCIS_GATEWAY_GRPC_ADDR to the COLLABORATION_GRPC_ADDR |
While adding the collaboration service to the admin docs which was a neccessity to get an error free build, I stumbled over some envvar related things that need a change. As reference how it is currently rendered, see the admin docs:
We have for example in all other services logging, tracing or debugging on top but here it is at the bottom.
COLLABORATION_JWT_SECRET
(OCIS_JWT_SECRET
)This envvar has a string defined, normally we have this empty, see all other services using OCIS_JWT_SECRET. If a value must be populated, we need to reflect this in the description and in the requirements of the readme.
COLLABORATION_APP_LOCKNAME
-->com.github.owncloud.collaboration
looks strange.COLLABORATION_APP_ICON
that both the defaultimage-edit
and the descriptionIcon for the app
are correct. Imho the default should be empty and the description adapted to define a path to an icon using$OCIS_BASE_DATA_PATH/path
as we have in many other services. For an example see thePROXY_TRANSPORT_TLS_CERT
envvar.OCIS_GATEWAY_GRPC_ADDR
to theCOLLABORATION_GRPC_ADDR
and use the default of the global envvar?@jvillafanez @micbar @dragonchaser
The text was updated successfully, but these errors were encountered: