sysarmy-galicia-generator
v1.0.1
Published
A generator for Kubernetes manifests and GitHub workflows for static websites for sysarmy galicia
Maintainers
Readme
Sysarmy Galicia Website Generator
A CLI tool to generate Kubernetes manifests and GitHub workflows for static websites.
Installation
npm install -g sysarmy-galicia-generatorUsage
sysarmy-galicia-generatorThe tool will guide you through the configuration process with interactive prompts:
- Project name (required)
- Git repository URL (required, e.g. https://github.com/username/project.git)
- Service port (default: 80)
- Nginx image (default: nginx:alpine)
- Init container image (default: node:20-alpine)
- Ingress host (default: .galicia.dev)
The project name will be used as the Kubernetes namespace for all resources.
This will generate:
- Kubernetes manifests in
infra/manifests/:deployment.ymlservice.ymlingress.yml
- GitHub workflows in
.github/workflows/:_deploy.yml_lint.yml_unittest.ymlmain.yml
Development
- Clone the repository
- Install dependencies:
npm install - Link the package for local development:
npm link
License
MIT
