https://github.com/kaonone/polkahub-deployer
https://github.com/kaonone/polkahub-deployer
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kaonone/polkahub-deployer
- Owner: kaonone
- License: apache-2.0
- Created: 2019-12-16T10:46:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-28T13:25:47.000Z (over 5 years ago)
- Last Synced: 2025-01-24T06:12:45.083Z (4 months ago)
- Language: Rust
- Size: 81.1 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Polkahub Deployer
This is Polkahub Deployer.
# Status
POC. Active development.
# Building
Install Rust:
```bash
curl https://sh.rustup.rs -sSf | sh
```Build:
```bash
cargo build
```# Run
```bash
cargo run
```# Environment variables description
SERVER_IP - IP address for binding, e.g. 127.0.0.1SERVER_PORT - port for binding, e.g. 8080
API_URL - Kubernetes API URL, e.g. https://kubernetes
CONFIG_PATH - path to directory with configs, e.g. "/config"
SECRET_PATH - path to directory with secrets, e.g. "/var/run/secrets/kubernetes.io/serviceaccount"
# Config files
$CONFIG_PATH/registry - Docker registry URL, e.g. registry.polkahub.org# Secret files
$SECRET_PATH/ca.crt - Kubernetes API certificate$SECRET_PATH/namespace - namespace where will deploy projects
$SECRET_PATH/token - Kubernetes API token