46 lines
896 B
Markdown
46 lines
896 B
Markdown
# Crete
|
|
|
|
A tool that takes node and cluster configs and uses it to generate talos configs
|
|
and render jinja templates.
|
|
|
|
## Installation
|
|
|
|
### Arch
|
|
|
|
First import the verification key:
|
|
|
|
```bash
|
|
wget https://git.huizinga.dev/api/packages/infra/arch/repository.key -O /tmp/repository.key
|
|
sudo pacman-key --add /tmp/repository.key
|
|
sudo pacman-key --lsign-key $(gpg --show-keys /tmp/repository.key | sed -n 2p)
|
|
```
|
|
|
|
And add the following to `/etc/pacman.conf`:
|
|
|
|
```ini
|
|
[infra]
|
|
SigLevel = Required
|
|
Server = https://git.huizinga.dev/api/packages/infra/arch/core/$arch
|
|
```
|
|
|
|
You can then install `crete` by running:
|
|
|
|
```bash
|
|
sudo pacman -Sy crete
|
|
```
|
|
|
|
### Cargo install
|
|
|
|
Add the following to `~/.cargo.config.toml`:
|
|
|
|
```toml
|
|
[registries.infra]
|
|
index = "sparse+https://git.huizinga.dev/api/packages/infra/cargo/"
|
|
```
|
|
|
|
You can then install `crete` by running:
|
|
|
|
```bash
|
|
cargo install --registry infra crete
|
|
```
|