Github License
GithubLicense
A reusable license template for GitHub repositories.
It holds the text of a standard license, for example Apache 2.0 or MIT, and provisions nothing on its own. GithubRepository manifests reference it by name in their license field to fill the LICENSE file.
| Property | Type | Description |
|---|---|---|
| apiVersion | string | API schema version. Must be lowops.manifests.v1. |
| kind | string | Resource kind. Must be GithubLicense. |
| metadata | map | The engine reads the reserved keys name and organization to resolve the identity. |
| spec | Spec | Desired license template. See Spec. |
Spec
License template content.
GithubRepository manifests that reference the template write it to their LICENSE file.
| Property | Type | Description |
|---|---|---|
| description | string | Optional description of the license template. It is informational only. |
| content | string | Full text of the license. The engine copies it unchanged into the LICENSE file of each GithubRepository that references this template by name. |