Skip to content
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

Create automated way of issuing Replicated licenses #8717

Closed
mrsimonemms opened this issue Mar 10, 2022 · 3 comments
Closed

Create automated way of issuing Replicated licenses #8717

mrsimonemms opened this issue Mar 10, 2022 · 3 comments
Labels
meta: stale This issue/PR is stale and will be closed soon team: delivery Issue belongs to the self-hosted team

Comments

@mrsimonemms
Copy link
Contributor

In order to issue a Replicated license, you must use the Replicated CLI to generate the license.

Community license

Assuming that the Replicated feature request to allow for a license to be changed via the KOTS UI is accepted, we can issue a single community license to allow for anonymous use of Replicated.

  • Create a license for stable, beta and unstable - there is an appetite in the community to track the bleeding-edge releases.
  • Make the domain optional and keep this empty
  • Publish this license as part of the installation documentation

Professional license

  • Create a license for stable only. Other channels can be added later if necessary.
  • Make the domain required
  • Make the number seats required
  • Create a payment gateway - @jankeromnes has made a good start on an RFC for this
  • Create a license delivery mechanism. This would probably need to allow re-downloading for when users cannot find their license.

This license generator makes sense to be done as a serverless component. Replicated does not offer access to their API via the web, but does so via their CLI tool. As this would be our first (to my knowledge) serverless component, this would require some architectural thought.

How the license would be delivered would require some thought as well - downloading or emailing are the two basic options. Again, this would need doing from the Replicated CLI.

One question that needs answering is how to add values for the license fields (domain, levelId and seats) to the license via the CLI as it's not documented. I have raised this with Replicated.

@mrsimonemms
Copy link
Contributor Author

According to Replicated, Replicated provide a download portal for generating a custom URL for the customer to download their license. This will give them the license file, binaries (for airgap) and command for installation.

Replicated to provide documentation for this in due course

@stale
Copy link

stale bot commented Jun 19, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Jun 19, 2022
@lucasvaltl
Copy link
Contributor

This is unlikely to be done soon - hence will close this for now.

Repository owner moved this from 🧊Backlog to ✨Done in 🚚 Security, Infrastructure, and Delivery Team (SID) Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta: stale This issue/PR is stale and will be closed soon team: delivery Issue belongs to the self-hosted team
Projects
No open projects
Development

No branches or pull requests

2 participants