Skip to content

Commit

Permalink
Remove Kapitan patch
Browse files Browse the repository at this point in the history
  • Loading branch information
simu committed Nov 19, 2024
1 parent 6ad2488 commit 17fb402
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 78 deletions.
14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,23 +89,15 @@ The benchmarks are implemented with `criterion`.
## Testing reclass-rs in Kapitan


If you're using [Kapitan], you can test reclass-rs by installing `reclass-rs` in your Kapitan virtualenv:

1. Install `reclass-rs` in your Kapitan virtualenv
If you're using [Kapitan], you can use reclass-rs by installing Kapitan with the optional `reclass-rs` dependency and specifying `--inventory-backend=reclass-rs` when running Kapitan.

```
KAPITAN_VENV=/path/to/your/kapitan/virtualenv
source ${KAPITAN_VENV}/bin/activate
pip install reclass-rs
```

2. Patch the Kapitan package in the virtualenv with the following command

```
patch -p1 -d $KAPITAN_VENV < hack/kapitan_0.32_reclass_rs.patch
pip install kapitan[reclass-rs]
```

Please note that we've only tested the patch against the Kapitan 0.32 release as published on PyPI.
See the [upstream Kapitan docs](https://kapitan.dev/pages/inventory/reclass-rs/) for more details.

## Automated package version management

Expand Down
67 changes: 0 additions & 67 deletions hack/kapitan_0.32_reclass_rs.patch

This file was deleted.

0 comments on commit 17fb402

Please sign in to comment.