Skip to content

akropolisio/polkahub-deployer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text

Polkahub Deployer

This is Polkahub Deployer.

Status

POC. Active development.

Building

Install Rust:

curl https://sh.rustup.rs -sSf | sh

Build:

cargo build

Run

cargo run

Environment variables description

SERVER_IP - IP address for binding, e.g. 127.0.0.1

SERVER_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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages