Github License
GithubLicense
Defines a reusable license template for GitHub repositories.
Injects standard legal headers (e.g., Apache 2.0, MIT) into target repository files managed by the engine.
| Property | Type | Description |
|---|---|---|
| apiVersion | string | |
| kind | string | |
| metadata | map | |
| spec | Spec |
Spec
Contains the user-defined content for the license.
Encapsulates the raw text payload to be written to a target repository's LICENSE file.
| Property | Type | Description |
|---|---|---|
| description | string | This description is optional but will drastically improve the understand of the AI assistant about the structural elements of the organization |
| content | string | The full text content of the license file. This allows for standardizing licenses across multiple repositories. This manifest does not create any resources on its own. Instead, it serves as a reusable template. 'GithubRepository' manifests can reference the name of this manifest in their 'license' field to populate the LICENSE file in the corresponding repository. |