feat: run test for all k8s versions

This commit is contained in:
Jaka Hudoklin 2019-02-16 14:02:13 +01:00
parent fde2d5557c
commit 0d68a401f0
No known key found for this signature in database
GPG key ID: 916062A1C4748647
3 changed files with 25 additions and 3 deletions

View file

@ -12,6 +12,7 @@ in {
test = {
name = "k8s/crd";
description = "Simple test tesing CRD";
enable = builtins.compareVersions config.kubernetes.version "1.8" >= 0;
assertions = [{
message = "should have group set";
assertion = cfg.spec.group == "stable.example.com";