Commit graph

120 commits

Author SHA1 Message Date
Bryton Hall
2b8e452ef2 add support for kubernetes 1.27 2023-06-13 16:38:33 -04:00
Bryton Hall
67e1d98464 helm: add noHooks option 2023-06-12 02:41:00 -04:00
Bryton Hall
baa1a6c949 flake: format 2023-06-03 03:11:07 -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
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
Bryton Hall
a12f905f17 k8s: change customTypes example to attrset 2023-01-04 13:21:20 -05:00
Bryton Hall
eac20b963a bump kubernetes versions 2023-01-04 11:51:43 -05:00
Bryton Hall
a85d680f57 add custom resource option examples 2022-08-31 21:38:37 -04:00
Bryton Hall
7ba59d844f fmt 2022-08-31 21:38:14 -04:00
Bryton Hall
faad0c48ff add kubeconfig option 2022-08-31 21:35:36 -04:00
Bryton Hall
e75b801a31
create static docs site with module options 2022-08-28 15:22:43 -04:00
Bryton Hall
e3127e8c14 allow docker image/tag to be empty string
This is a work-around to allow evaluation for docs.
It shouldn't have any real effect but should be properyl implemented at some point.
2022-08-28 15:02:49 -04:00
Bryton Hall
6dfa8e81c7 prevent self-referential types in generated modules 2022-08-28 01:58:35 -04:00
Bryton Hall
89e1e70bf0 rename helm instances to releases 2022-08-15 09:46:23 -04:00
Bryton Hall
54c35f61a0 update k8s version sha 2022-08-15 01:08:03 -04:00
Bryton Hall
2891ede6d4 add missing kube version, move jobs to packages 2022-08-15 00:29:27 -04:00
Bryton Hall
7fb2bf9578 collect kube versions into a single file 2022-08-13 21:39:56 -04:00
Bryton Hall
f251d55857 set vscode formatter to alejandra, format repo 2022-08-13 18:20:59 -04:00
Bryton Hall
1c410a7e03 update contributing guide and format repo 2022-08-11 23:41:33 -04:00
Bryton Hall
90de01f7d9 add new k8s version check 2022-08-11 23:18:44 -04:00
Bryton Hall
666a685118 add support for kube 1.24 2022-08-11 23:07:41 -04:00
GTrunSec
43371dba54
enable some tests 2022-04-02 16:12:17 -07:00
GTrunSec
91d1041e06
enhace devshell 2022-04-02 15:31:14 -07:00
GTrunSec
d1e09b972b
fix generated 2022-04-02 15:17:23 -07:00
GTrunSec
c08c408bce
1.23 2022-04-02 15:09:21 -07:00
GTrunSec
bc5c70db39
fmt 2022-04-02 14:42:22 -07:00
GTrunSec
e7227cfe8c
WIP: IFD issue 2022-04-02 14:07:05 -07:00
GTrunSec
6a720a257e
statix fix 2022-04-02 13:43:57 -07:00
GTrunSec
890b84be5e
deadnix check 2022-04-02 13:41:07 -07:00
GTrunSec
164beed30d
example fix 2022-04-02 13:28:07 -07:00
GTrunSec
2f2a3be87d
Update 2022-04-02 13:18:09 -07:00
GTrunSec
60592d3096
fmt 2022-04-02 12:40:35 -07:00
David Arnold
a0ce293db8
fix: ensure e2e tests are collected in order 2021-06-01 10:28:53 -05:00
David Arnold
806a3d759e
ref: throwError -> doThrowError
Follow somewhat the nixpkgs conventions for bool flags
2021-06-01 10:00:15 -05:00
David Arnold
b29d3a11b2
testing: rename defaults to common options
They are technically no defaults and competing declarations cause a
module error
2021-05-31 22:36:11 -05:00
David Arnold
0c99276b50
fix: test kubernetes manifest
nix-repl> test-nginx = g.config.testing.testsByName.nginx-deployment.evaled.config.kubernetes.resources.deployments.nginx
nix-repl> test-nginx.spec.template.spec.containers.nginx.image
"nginx:dy4y4j45arjj9sgyjb90sv035sxglpv8"

vs

nix-repl> nginx = g.config.kubernetes.resources.deployments.nginx
nix-repl> nginx.spec.template.spec.containers.nginx.image
"docker.io/gatehub/nginx:dy4y4j45arjj9sgyjb90sv035sxglpv8"
2021-05-31 21:46:13 -05:00
David Arnold
80d3a595f5
imp: add some provenance info on defaults 2021-05-31 21:21:48 -05:00
David Arnold
39badb2084
fixup tests 2021-05-31 21:14:39 -05:00
David Arnold
09e268920b
ref: move source code to ./src (clean top level) 2021-05-31 17:25:06 -05:00
David Arnold
9d006f39fc
ref: streamline extra lib 2021-05-31 17:24:59 -05:00
David Arnold
bf64929797
ref: organize lib folder 2021-05-28 16:19:03 -05:00
David Arnold
8a20c93b21
add nixos-k8s runtime & rmove k3s runtime 2021-05-13 20:42:56 -04:00
David Arnold
70d249aaff
move past legacy compat 2021-05-13 19:45:26 -04:00
David Arnold
db6d83c61e
fmt 2021-05-13 17:33:58 -04:00
GTrunSec
c3fa598922 enhance nix-shell and add CI 2021-05-13 17:08:41 -04:00
David Arnold
ffaa63af55
ref: reuse upstream k8s testing infra as much as possible 2021-05-12 22:35:22 -04:00
David Arnold
0abb1adb9b
wip: strip down local runtime options 2021-05-12 18:16:35 -04:00
David Arnold
4707557ba3
fix: config tests without script
some tests only assert correct configuration generation, let's call
them "config tests" as opposed to "runtime tests"/"e2e tests".

Those configuration tests, don't expose a runtime script. So they
should not be taken into account for any orchestrated runtime script.
2021-05-10 14:59:04 -04:00
Thomas Bereknyei
a3464f6857 add kubetest derivation from pypi 2021-05-08 13:05:06 -04:00