Closed
Description
Problem
Enterprise coder server needs up to date license information to feed the Entitlements API and Feature Server.
Definition of Done
- On startup, read licenses, validate them, compute entitlements struct
- Watch pubsub for license updates, compute updated entitlements struct
Acceptance Criteria
- Obtain a valid license file
- On a new Coder deployment, without a license, verify that
"has_license": false
appears in output of
coder features list -o json
- Add the license file to a new coder deployment
coder license add <license file>
- Verify that
"has_license": true
appears in
coder features list -o json
- Remove the license from the deployment
coder license list
obtain license ID
coder license delete <id>
- verify that
"has_license": false
appears in output of
coder features list -o json