Skip to content

[licensing] Don't cache (Replicated) license but call the kots server for each license call #8414

@corneliusludmann

Description

@corneliusludmann

Currently, the license is fetched from the KOTS admin server on server start. When the license has been changed, we need to restart the server.

I would propose to call the KOTS license endpoint for each license check instead of holding the license in the cache.

Drawback:

  • More API calls.

However, we do not check the license that often in Gitpod. And the KOTS endpoint is in the same network. That's why I think that would be ok.

Alternative: Refetch the license regularly (e.g. once an hour or day).

Metadata

Metadata

Assignees

No one assigned

    Labels

    team: deliveryIssue belongs to the self-hosted teamtype: improvementImproves an existing feature or existing code

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions