Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.
/ strike Public archive

A simple http service for hosting CoreOS Ignition configuration or Container Linux configs

License

Notifications You must be signed in to change notification settings

haz-mat/strike

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strike

Docker Repository on Quay

Strike is a simple service for hosting CoreOS Ignition configuration or Container Linux configs. It transpiles Container Linux Configs to Ignition Configs for you. For convenience it also serves static assets.

Set STRIKE_SRV_DIR to a directory containing an ignition and static directory. Put Container Linux Config YAML files (.yaml or .yml), or Ignition Config JSON (.ignition, .ign, or .json) files into the ignition directory. Other static assets can go into static.

./STRIKE_SRV_DIR
  ./ignition
    clfg.yml
    default.ignition
  ./static
    pypy_install.sh
    tool.py

Reaching Container Linux & Ignition Configs

Transpiled configs are reachable at the endpoint http://127.0.0.1:5000/ignition/<base filename> by their base filename, meaning, a filename of cfg.yml would be served at http://127.0.0.1:5000/ignition/cfg. A platform argument is usually required as well for Container Linux Config YAML: http://127.0.0.1:5000/ignition/cfg?platform=ec2.

Static assets

Static assets are served directly from http://127.0.0.1:5000/static/.

Config variables

  • STRIKE_SRV_DIR sets the served directory. By default this is ./.

About

A simple http service for hosting CoreOS Ignition configuration or Container Linux configs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published