18 lines
743 B
Org Mode
18 lines
743 B
Org Mode
|
#+title: infra-rs
|
||
|
|
||
|
Is this easier than just writing YAML? No. Is it fun? Maybe.
|
||
|
|
||
|
** About
|
||
|
|
||
|
Generates Kubernetes manifests using Rust code. The bulk of the work (should) be done in the =infra_rs= module, which defines some fairly generic structs we can translate to the OpenAPI spec generated types from [[https://docs.rs/k8s-openapi/latest/k8s_openapi/][k8s_openapi]]. This /probably/ shouldn't be used in any serious way, unless your seriously silly.
|
||
|
|
||
|
This is still very much a work in progress, but what use is mad science if it isn't shared for others to learn from. See =manifests/vaultwarden.rs= for an example deployment of Vaultwarden.
|
||
|
|
||
|
** Running
|
||
|
|
||
|
=cargo run= should be all you need.
|
||
|
|
||
|
** Contributing
|
||
|
|
||
|
Maybe don't if you value sanity.
|