Bryton Hall
b231710109
replace flake-utils input with nix-systems
...
We're only using `eachDefaultSystem` from flake-utils so pulling it in is
a bit overkill; using the underlying nix-systems dependency directly brings
us closer to a "stock" flake format without adding unnecessary burden.
2023-07-07 23:44:44 -04:00
Bryton Hall
f7f2df7119
remove local kubectl and kubernetes packages
...
A comment added in the original commit suggests these were only used as
more up-to-date versions relative to those in nixpkgs. That's no longer
the case and I'm not sure there's good reason to maintain theme here.
I'm happy to reconsider but will remove them for now.
2023-07-07 23:13:43 -04:00
Bryton Hall
2712e89716
switch formatting to nixpkgs-fmt
2023-07-07 22:01:49 -04:00
Bryton Hall
3598716c73
remove usage of mkApp from flake-utils
2023-07-07 17:52:39 -04:00
Bryton Hall
ef5f5b3c89
move generator jobs into pkgs
2023-07-07 17:50:26 -04:00
Bryton Hall
7a64a0f599
docs: redeploy site when README.md changes
2023-07-07 01:16:48 -04:00
Bryton Hall
07ba711056
pkgs(kubenix): overhaul and drop support for the helm CLI ( #24 )
...
This is a relatively large re-design which
- removes usage of the Helm CLI
- expects users to override the default package
- performs an interactive diff, confirm, apply by default
- prunes removed resources
2023-07-07 00:33:25 -04:00
Bryton Hall
ccfd0d16c1
flake: remove non-existent nixpkgs input to flake-utils
2023-07-06 22:44:01 -04:00
Bryton Hall
098edd1266
docs: reformat hugo toml config to yaml
...
This is the only toml file in the repo now so lets just stick with yaml
which is a far more common format given the context of this project.
2023-07-06 22:37:21 -04:00
Bryton Hall
c70834ccb9
switch to treefmt module
2023-07-06 22:36:37 -04:00
Bryton Hall
319912f5f2
vscode: don't show submodule in sidebar
2023-07-06 22:27:53 -04:00
Bryton Hall
79db5442b5
add release process and cut version 0.1.0 ( #29 )
...
Adding CI steps to tag releases following CHANGELOG entries to reduce
unknowns and provide an easy way to communicate relevant changes.
2023-07-06 22:24:02 -04:00
Bryton Hall
60a5a28db7
docs: pin deployment example image and fix config
...
This fixes issue #28 in which the pod fails to start due to a duplicate
directive; it also pins the nginx version to avoid further breaking
changes.
2023-07-05 20:59:52 -04:00
Felix Scheinost
e77a3898de
Replace remarshal with yq ( #26 )
...
Remarshal doesn’t seem to be maintained anymore.
It is also affected by upstream bugs like https://github.com/yaml/pyyaml/issues/89 which affects e.g. prometheus-operator CRDs.
2023-06-19 12:14:20 -04:00
Bryton Hall
0456c92538
docs: use text attribute for default/example
2023-06-13 18:32:09 -04:00
Bryton Hall
2b8e452ef2
add support for kubernetes 1.27
2023-06-13 16:38:33 -04:00
Bryton Hall
0bb45c7161
docs: preserve paragraph breaks in module option descriptions
2023-06-13 01:45:52 -04:00
Bryton Hall
67e1d98464
helm: add noHooks option
2023-06-12 02:41:00 -04:00
Bryton Hall
9492528225
flake: format
2023-06-12 02:37:45 -04:00
Bryton Hall
ea8fe3bd9c
docs: fix CLI flake package name
2023-06-12 00:01:53 -04:00
Bryton Hall
32dc1a09cb
flake: format
2023-06-11 23:53:55 -04:00
Bryton Hall
5d95447b75
pkgs(vals): remove in favor of nixpkgs derivation
2023-06-11 23:53:22 -04:00
Bryton Hall
ab39f9e06d
flake: update
2023-06-11 23:51:11 -04:00
Bryton Hall
9fe3b49493
docs: add k3s tip on auto-deploying manifests
2023-06-11 23:02:48 -04:00
Bryton Hall
c577e3e887
docs: add vals example for secrets
2023-06-11 23:02:06 -04:00
Bryton Hall
6c27c1d52b
docs: add helm section on patching resources
2023-06-11 23:01:19 -04:00
Bryton Hall
baa1a6c949
flake: format
2023-06-03 03:11:07 -04:00
Bryton Hall
eb3ec20f46
flake: fix testing by hardcoding system
...
This is meant as a stopgap. I'm not quite sure how but we should use
the current system (which is not available under builtins in a pure
evaluation).
2023-06-03 03:08:37 -04:00
Bryton Hall
6764ef284f
docs: add "edit this page" links
2023-06-03 02:47:30 -04:00
Bryton Hall
f83205c920
docs: inline hyperlink to example source files
2023-06-03 02:39:16 -04:00
Bryton Hall
14f867ec12
docs: fix links to nested submodule options
2023-06-03 02:38:47 -04:00
Bryton Hall
95504f4c3b
docs: cleanup, fix links, add comments
2023-06-03 02:38:28 -04:00
Bryton Hall
8d10d79cfe
docs: vertically align code blocks
2023-05-26 22:20:10 -04:00
Bryton Hall
cb61efe123
docs: enable syntax highlighting for module options
2023-05-25 02:47:43 -04:00
Bryton Hall
32f3ed1aa2
docs: fix module details table overflow
2023-05-25 02:47:16 -04:00
Herwig Stuetz
dc1c99460f
Use name as fallback merge-key ( #21 )
...
This change uses the attribute `name` if
`x-kubernetes-patch-merge-key` is not the full
`x-kubernetes-list-map-keys` to avoid data corruption.
2023-05-25 01:09:03 -04:00
Adrian
a90fdc0eae
kubenix.submodule example used to create resources in multiple namespaces ( #22 )
2023-05-25 00:57:03 -04:00
Herwig Stuetz
20907f568e
Preserve array order ( #20 )
...
Fixes hall/kubenix#19
2023-03-30 21:14:46 -04:00
Felix Scheinost
919e4ec901
Add option for Helm --include-crds ( #18 )
2023-02-27 20:22:59 -05:00
Felix Scheinost
b2feaf6b40
#15 Fix empty line regex on darwin ( #16 )
2023-02-15 11:36:06 -05:00
Bryton Hall
5bcab30ed2
make generate app more idempotent
2023-01-28 14:01:32 -05:00
Bryton Hall
7af982c404
flake: add aarch64 and darwin system combinations
2023-01-28 11:54:44 -05:00
Bryton Hall
7201c3229f
tests: temp disable import test
2023-01-28 11:47:19 -05:00
Bryton Hall
5260d2a014
helm: use kube-version instead of api-version
2023-01-18 00:27:56 -05:00
Bryton Hall
f2dc3e2f63
pass --show-trace to nix with debug flag
2023-01-18 00:26:03 -05:00
Bryton Hall
a12f905f17
k8s: change customTypes example to attrset
2023-01-04 13:21:20 -05:00
Bryton Hall
47e69e87e1
actions: build pages on module changes
2023-01-04 13:18:48 -05:00
Bryton Hall
eac20b963a
bump kubernetes versions
2023-01-04 11:51:43 -05:00
Bryton Hall
c2ed155e66
helm: only upgrade when there are changes
2022-12-01 20:41:18 -05:00
Bryton Hall
844eca48a3
helm: make releases atomic
2022-12-01 20:41:10 -05:00