Skip to content

Commit

Permalink
chore: bump podinfo to v0.1.1
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Mar 14, 2024
1 parent 1f646df commit 1f64983
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion podinfo/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "podinfo"
version = "0.1.0"
version = "0.1.1"

[dependencies]
k8s = "1.29"
8 changes: 4 additions & 4 deletions podinfo/main.k
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import manifests
manifests.yaml_stream([
templates.deployment
templates.service
templates.igress
if templates.igress: templates.igress
templates.serviceAccount
templates.serviceMonitor
templates.hpa
templates.testJob
if templates.serviceMonitor: templates.serviceMonitor
if templates.hpa: templates.hpa
if templates.testJob: templates.testJob
])
6 changes: 6 additions & 0 deletions podinfo/main_test.k
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import templates

test_deployment = lambda {
assert templates.deployment.apiVersion == "apps/v1"
assert templates.service.apiVersion == "v1"
}

0 comments on commit 1f64983

Please sign in to comment.