Skip to content

Commit

Permalink
chore: modify the example of deploying KCL playground image to v0.9.0
Browse files Browse the repository at this point in the history
Signed-off-by: Peefy <[email protected]>
  • Loading branch information
Peefy committed Nov 12, 2024
1 parent 11eecbb commit c918483
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 12 deletions.
2 changes: 1 addition & 1 deletion blog/2023-12-15-kubevela-integration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ oam.Application {
name = metadata.name
type = "webservice"
properties = {
image = "kcllang/kcl"
image = "kcllang/kcl:v0.9.0"
ports = [{port = 80, expose = True}]
cmd = ["kcl", "play"]
}
Expand Down
2 changes: 1 addition & 1 deletion blog/2023-12-21-biweekly-newsletter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ oam.Application {
name = metadata.name
type = "webservice"
properties = {
image = "kcllang/kcl"
image = "kcllang/kcl:v0.9.0"
ports = [{port = 80, expose = True}]
cmd = ["kcl", "play"]
}
Expand Down
2 changes: 1 addition & 1 deletion docs/user_docs/guides/working-with-kubevela/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ oam.Application {
name = metadata.name
type = "webservice"
properties = {
image = "kcllang/kcl"
image = "kcllang/kcl:v0.9.0"
ports = [{port = 80, expose = True}]
cmd = ["kcl", "play"]
}
Expand Down
2 changes: 1 addition & 1 deletion examples/kubevela/inherit-oam-app/main.k
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MyApplication {
name = metadata.name
type = "webservice"
properties = {
image = "kcllang/kcl"
image = "kcllang/kcl:v0.9.0"
ports = [{port = 80, expose = True}]
cmd = ["kcl", "play"]
}
Expand Down
3 changes: 3 additions & 0 deletions examples/kubevela/kcl-play-svc/kcl.mod.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
name = "k8s"
full_name = "k8s_1.28.1"
version = "1.28.1"
reg = "ghcr.io"
repo = "kcl-lang/k8s"
oci_tag = "1.28.1"
[dependencies.oam]
name = "oam"
full_name = "oam_0.1.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/kubevela/kcl-play-svc/main.k
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ oam.Application {
name = metadata.name
type = "webservice"
properties = {
image = "kcllang/kcl"
image = "kcllang/kcl:v0.9.0"
ports = [{port = 80, expose = True}]
cmd = ["kcl", "play"]
}
Expand Down
6 changes: 6 additions & 0 deletions examples/kubevela/template-oam-app/kcl.mod.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
name = "k8s"
full_name = "k8s_1.31.2"
version = "1.31.2"
reg = "ghcr.io"
repo = "kcl-lang/k8s"
oci_tag = "1.31.2"
[dependencies.oam]
name = "oam"
full_name = "oam_0.2.1"
version = "0.2.1"
sum = "bz5HT/ggMm6heYVUOaZd5mOLIv/q2jicXupv0ChDlsE="
reg = "ghcr.io"
repo = "kcl-lang/oam"
oci_tag = "0.2.1"
4 changes: 2 additions & 2 deletions examples/kubevela/template-oam-app/main.k
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ schema MyApplication[template: MyTemplate](oam.Application):
name = metadata.name
type = "webservice"
properties = {
image = "kcllang/kcl"
image = "kcllang/kcl:v0.9.0"
ports = [{port = 80, expose = True}]
cmd = ["kcl", "play"]
}
Expand All @@ -22,6 +22,6 @@ schema MyApplication[template: MyTemplate](oam.Application):

MyApplication({
name = "kcl-play-svc"
image = "kcllang/kcl"
image = "kcllang/kcl:v0.9.0"
cmd: ["kcl", "play"]
}) {}
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ oam.Application {
name = metadata.name
type = "webservice"
properties = {
image = "kcllang/kcl"
image = "kcllang/kcl:v0.9.0"
ports = [{port = 80, expose = True}]
cmd = ["kcl", "play"]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ oam.Application {
name = metadata.name
type = "webservice"
properties = {
image = "kcllang/kcl"
image = "kcllang/kcl:v0.9.0"
ports = [{port = 80, expose = True}]
cmd = ["kcl", "play"]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ oam.Application {
name = metadata.name
type = "webservice"
properties = {
image = "kcllang/kcl"
image = "kcllang/kcl:v0.9.0"
ports = [{port = 80, expose = True}]
cmd = ["kcl", "play"]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ oam.Application {
name = metadata.name
type = "webservice"
properties = {
image = "kcllang/kcl"
image = "kcllang/kcl:v0.9.0"
ports = [{port = 80, expose = True}]
cmd = ["kcl", "play"]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ oam.Application {
name = metadata.name
type = "webservice"
properties = {
image = "kcllang/kcl"
image = "kcllang/kcl:v0.9.0"
ports = [{port = 80, expose = True}]
cmd = ["kcl", "play"]
}
Expand Down

0 comments on commit c918483

Please sign in to comment.