GTrunSec
60592d3096
fmt
2022-04-02 12:40:35 -07: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
557cc48a0a
style: simplify example & tests top level invokation
2021-05-31 22:35:41 -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
39badb2084
fixup tests
2021-05-31 21:14:39 -05:00
David Arnold
ee9b4adfc8
ref: non-flake compatibility
...
since this is purely a legacy concern (both default.nix and shell.nix),
we avoid to include the flake-compat as a flake input.
(even though unused inputs are lazily fetched - for style & clarity)
2021-05-31 17:25:05 -05:00
David Arnold
7b057d8c0f
adapt remaining tests to kubetest
2021-05-13 22:58:11 -04:00
David Arnold
8a20c93b21
add nixos-k8s runtime & rmove k3s runtime
2021-05-13 20:42:56 -04:00
David Arnold
db6d83c61e
fmt
2021-05-13 17:33:58 -04:00
Xavier Zwirtz
0f8a36710c
wip k3s support
2021-04-28 14:28:44 -05:00
David Arnold
7a93fdce23
fix test executability
2021-04-28 13:43:24 -05:00
Jaka Hudoklin
acd93f0748
fix tests and examples
2020-01-14 19:13:44 +00:00
Jaka Hudoklin
accd2dec1b
fix: minor fixes
2019-10-06 21:44:00 +02:00
Jaka Hudoklin
2f3669a961
fix(tests): new resource naming
2019-09-27 18:29:00 +02:00
Jaka Hudoklin
a429aeec9e
feat(examples/nginx-deployment): use new config.docker.copyScript
2019-03-13 18:06:09 +01:00
Jaka Hudoklin
0910b9b42e
feat(examples/nginx-deployment): use nix eval for applying configuration
2019-03-12 21:08:54 +01:00
Jaka Hudoklin
e64f8b2d75
fix(examples/nginx-deployment): fix test command in README
2019-03-12 21:05:36 +01:00
Jaka Hudoklin
6183fcc190
Refactor:
...
- Support for module features
- Remove kubenix.module and rather use explicit modules
- Make tests framework independent of k8s module
- Remove metacontroller submodule, which will go to kubenix-modules
- Improved submodule propagation and passthru
- Added additional test for k8s-submodule
2019-03-12 20:48:19 +01:00
Jaka Hudoklin
d7150a9df8
chore: remove old examples
2019-03-07 23:28:18 +01:00
Jaka Hudoklin
fc9abaa519
feat(examples/nginx-deployment): minor refactor, fixes and e2e test
2019-03-07 23:24:28 +01:00
Jaka Hudoklin
12a1c920c4
fix(examples/nginx-deployment): fix typo
2019-03-07 18:09:34 +01:00
Jaka Hudoklin
432cc9e347
feat(examples): add nginx deployment
2019-03-07 18:05:00 +01:00
Jaka Hudoklin
ae3b208821
fix(k8s): use plural aliases instead of kinds
2019-02-13 12:55:56 +01:00
Jaka Hudoklin
3dc1e615c4
Initial refactoring for kubenix 2.0
...
Implemented features:
- Improved and reimplemented submodule system, independent of
kubernetes module definitions
- Pre-generated kubernetes module definitions with explicit API
versioning support
2019-02-10 21:18:07 +01:00
Jaka Hudoklin
cbf84e25a5
first commit
2017-11-11 11:52:17 +01:00