Find a file
Gabriel Simmer 30d241ea4e
Services and ingresses
Seriously, if I catch you using this, I will bite >:(
2024-07-03 22:59:01 +01:00
src Services and ingresses 2024-07-03 22:59:01 +01:00
.gitignore Initial commit of madness 2024-06-29 10:41:15 +01:00
Cargo.lock Services and ingresses 2024-07-03 22:59:01 +01:00
Cargo.toml Services and ingresses 2024-07-03 22:59:01 +01:00
LICENSE Initial commit of madness 2024-06-29 10:41:15 +01:00
README.org Initial commit of madness 2024-06-29 10:41:15 +01:00

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 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.