mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
fix(tests): new resource naming
This commit is contained in:
parent
ec3f7ecb10
commit
2f3669a961
9 changed files with 30 additions and 29 deletions
|
|
@ -3,13 +3,13 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.kubernetes.api.customresourcedefinitions.crontabs;
|
||||
cfg = config.kubernetes.resources.customResourceDefinitions.crontabs;
|
||||
in {
|
||||
imports = with kubenix.modules; [ test k8s ];
|
||||
|
||||
test = {
|
||||
name = "k8s-1.13-crd";
|
||||
description = "Simple test tesing CRD for k8s 1.13";
|
||||
name = "k8s-1-13-crd";
|
||||
description = "Simple test testing CRD for k8s 1.13";
|
||||
enable = builtins.compareVersions config.kubernetes.version "1.13" >= 0;
|
||||
assertions = [{
|
||||
message = "should have versions set";
|
||||
|
|
@ -19,7 +19,7 @@ in {
|
|||
|
||||
kubernetes.version = k8sVersion;
|
||||
|
||||
kubernetes.api.customresourcedefinitions.crontabs = {
|
||||
kubernetes.resources.customResourceDefinitions.crontabs = {
|
||||
metadata.name = "crontabs.stable.example.com";
|
||||
spec = {
|
||||
group = "stable.example.com";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue