fix(tests): new resource naming

This commit is contained in:
Jaka Hudoklin 2019-09-27 18:29:00 +02:00
parent ec3f7ecb10
commit 2f3669a961
No known key found for this signature in database
GPG key ID: 11AA2A62319E4968
9 changed files with 30 additions and 29 deletions

View file

@ -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";