https://github.com/eltorio/getlaserfile
Minimal container for ditribution specific files from specific commit from private git repo
https://github.com/eltorio/getlaserfile
Last synced: 4 months ago
JSON representation
Minimal container for ditribution specific files from specific commit from private git repo
- Host: GitHub
- URL: https://github.com/eltorio/getlaserfile
- Owner: eltorio
- License: agpl-3.0
- Created: 2024-01-13T17:03:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-15T14:17:28.000Z (over 1 year ago)
- Last Synced: 2024-12-27T06:43:54.462Z (5 months ago)
- Language: Go
- Homepage:
- Size: 4.28 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# getlaserfile
`getlaserfile` is a Go program designed to be used as a sidecar container for Highcanfly's Gitea Kubernetes Helm chart. It allows public download of specific files from a private Gitea repository.
## License
This program is provided under the GNU Affero General Public License v3.0 (AGPLv3).
## Usage
To use `getlaserfile`, you need to deploy it alongside the Gitea container in your Kubernetes cluster. The program exposes an endpoint that can be used to download specific files from a private Gitea repository.
add a config.yaml:
```yaml
paths:
- repolocation: "/repo1"
url: "/url1"
path: "/path1"
- repolocation: "/repo2"
url: "/url2"
path: "/path2"
```
and run it:
```sh
getlaserfile --config=config.yaml --port=80
```## Deployment
You can deploy `getlaserfile` using the same Helm chart as your Gitea deployment. Please refer to the Highcanfly's Gitea Kubernetes Helm chart documentation for more details on how to configure and deploy your Helm chart.
## Contributing
Contributions to `getlaserfile` are welcome! Please make sure to read the Contributing Guide before making a pull request.
## Contact
If you have any questions, issues, or feedback, please open an issue in this repository.
## Disclaimer
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.