You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Categories is a nested block of artifacts, workloads and infrastructure
20
-
categories {
21
-
// Artifacts is a nested block of Image, Function, CF
22
-
artifacts {
23
-
// Every object requires expression(logical combinations of variables v1, v2, v3...) and list of variables consists of attribute(pre-defined) and value
24
-
image {
25
-
expression = "v1 && v2"
26
-
variables {
27
-
attribute = "aqua.registry"
28
-
value = "test-registry"
29
-
}
30
-
variables {
31
-
attribute = "image.repo"
32
-
value = "nginx"
33
-
}
34
-
}
17
+
description = "test123"
18
+
name = "test18"
19
+
// Categories is a nested block of artifacts, workloads and infrastructure
20
+
categories {
21
+
// Artifacts is a nested block of Image, Function, CF
22
+
artifacts {
23
+
// Every object requires expression(logical combinations of variables v1, v2, v3...) and list of variables consists of attribute(pre-defined) and value
24
+
image {
25
+
expression = "v1 && v2"
26
+
variables {
27
+
attribute = "aqua.registry"
28
+
value = "test-registry"
35
29
}
36
-
// Workloads is a nested block of Kubernetes, OS, CF
37
-
workloads {
38
-
// Every object requires expression(logical combinations of variables v1, v2, v3...) and list of variables consists of attribute(pre-defined) and value
39
-
kubernetes {
40
-
expression = "v1 && v2"
41
-
variables {
42
-
attribute = "kubernetes.cluster"
43
-
value = "aqua"
44
-
}
45
-
variables {
46
-
attribute = "kubernetes.namespace"
47
-
value = "aqua"
48
-
}
49
-
}
30
+
variables {
31
+
attribute = "image.repo"
32
+
value = "nginx"
50
33
}
51
-
// Infrastructure is a nested block of Kubernetes, OS
52
-
infrastructure {
53
-
// Every object requires expression and list of variables consists of attribute(pre-defined) and value
54
-
kubernetes {
55
-
expression = "v1"
56
-
variables {
57
-
attribute = "kubernetes.cluster"
58
-
value = "aqua"
59
-
}
60
-
}
34
+
}
35
+
}
36
+
// Workloads is a nested block of Kubernetes, OS, CF
37
+
workloads {
38
+
// Every object requires expression(logical combinations of variables v1, v2, v3...) and list of variables consists of attribute(pre-defined) and value
39
+
kubernetes {
40
+
expression = "v1 && v2"
41
+
variables {
42
+
attribute = "kubernetes.cluster"
43
+
value = "aqua"
44
+
}
45
+
variables {
46
+
attribute = "kubernetes.namespace"
47
+
value = "aqua"
48
+
}
49
+
}
50
+
}
51
+
// Infrastructure is a nested block of Kubernetes, OS
52
+
infrastructure {
53
+
// Every object requires expression and list of variables consists of attribute(pre-defined) and value
0 commit comments