mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
docs reset
This commit is contained in:
parent
43371dba54
commit
b874fce232
10 changed files with 225 additions and 28 deletions
24
CONTRIBUTING.md
Normal file
24
CONTRIBUTING.md
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Contributing
|
||||
|
||||
## Kubernetes versions
|
||||
|
||||
Edit [`./jobs/generators/default.nix`](./jobs/generators/default.nix) and add a block for the new version of Kubernetes in `generate.k8s`. For example:
|
||||
|
||||
```nix
|
||||
{
|
||||
name = "v1.23.nix";
|
||||
path = generateK8S "v1.23" (builtins.fetchurl {
|
||||
url = "https://github.com/kubernetes/kubernetes/raw/v1.23.0/api/openapi-spec/swagger.json";
|
||||
sha256 = "0jivg8nlxka1y7gzqpcxkmbvhcbxynyrxmjn0blky30q5064wx2a";
|
||||
});
|
||||
}
|
||||
```
|
||||
|
||||
Then build and copy all specs to [`modules/generated/`](./modules/generated/):
|
||||
|
||||
nix build '.#jobs.x86_64-linux.generators.k8s'
|
||||
cp ./result/* modules/generated/
|
||||
|
||||
## Tests
|
||||
|
||||
Tests are executed through GitHub actions; see the [workflow definition](../kubenix/.github/workflows/ci.yml) for commands.
|
||||
Loading…
Add table
Add a link
Reference in a new issue