mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
feat(legacy): improve CRD support
This commit is contained in:
parent
29b1140178
commit
26d0351eb8
5 changed files with 134 additions and 45 deletions
|
|
@ -17,11 +17,11 @@ in {
|
|||
name = "legacy-modules";
|
||||
description = "Simple test tesing kubenix legacy modules";
|
||||
assertions = [{
|
||||
message = "should have all objects";
|
||||
assertion =
|
||||
hasObject {kind = "Deployment"; name = "myapp";} &&
|
||||
hasObject {kind = "Deployment"; name = "myapp2";} &&
|
||||
hasObject {kind = "Deployment"; name = "myapp2-app2";};
|
||||
message = "should have all objects";
|
||||
assertion =
|
||||
hasObject {kind = "Deployment"; name = "myapp";} &&
|
||||
hasObject {kind = "Deployment"; name = "myapp2";} &&
|
||||
hasObject {kind = "Deployment"; name = "myapp2-app2";};
|
||||
} {
|
||||
message = "should have default labels set";
|
||||
assertion =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue