File tree 7 files changed +10
-9
lines changed
7 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
[package]
2
2
name = " kcl-abstraction-example"
3
- version = " 0.1 .0"
3
+ version = " 0.2 .0"
4
4
description = " `kcl-abstraction-example` is the KCL abstraction example."
5
5
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ kubernetesRender = lambda a: app.App {
16
16
template.metadata.labels = a.labels
17
17
template.spec.containers = [
18
18
{
19
- name = name
19
+ name = n
20
20
image = c.image
21
21
command = c.command
22
22
args = c.args
23
23
env = c.env
24
24
volumeMounts = c.volumes
25
25
resources: c.resources
26
26
ports = c.ports
27
- } for name , c in a.containers
27
+ } for n , c in a.containers
28
28
]
29
29
}
30
30
}
Original file line number Diff line number Diff line change 1
1
[package]
2
2
name = " kcl-playground"
3
3
edition = " *"
4
- version = " 0.1 .0"
4
+ version = " 0.2 .0"
5
5
description = " `kcl-playground` is the kcl playground Kubernetes manifests"
6
6
Original file line number Diff line number Diff line change @@ -66,15 +66,15 @@ kubernetesRender = lambda a: App {
66
66
template.metadata.labels = a.labels
67
67
template.spec.containers = [
68
68
{
69
- name = name
69
+ name = n
70
70
image = c.image
71
71
command = c.command
72
72
args = c.args
73
73
env = c.env
74
74
volumeMounts = c.volumes
75
75
resources: c.resources
76
76
ports = c.ports
77
- } for name , c in a.containers
77
+ } for n , c in a.containers
78
78
]
79
79
}
80
80
}
Original file line number Diff line number Diff line change 1
1
[package]
2
2
name = " web-service"
3
3
edition = " *"
4
- version = " 0.1 .0"
4
+ version = " 0.2 .0"
5
5
description = " `web-service` is a kcl abstraction package"
6
+
Original file line number Diff line number Diff line change @@ -64,15 +64,15 @@ kubernetesRender = lambda a: App {
64
64
template.metadata.labels = a.labels
65
65
template.spec.containers = [
66
66
{
67
- name = name
67
+ name = n
68
68
image = c.image
69
69
command = c.command
70
70
args = c.args
71
71
env = c.env
72
72
volumeMounts = c.volumes
73
73
resources: c.resources
74
74
ports = c.ports
75
- } for name , c in a.containers
75
+ } for n , c in a.containers
76
76
]
77
77
}
78
78
}
You can’t perform that action at this time.
0 commit comments