Skip to content

Commit c918483

Browse files
committed
chore: modify the example of deploying KCL playground image to v0.9.0
Signed-off-by: Peefy <[email protected]>
1 parent 11eecbb commit c918483

File tree

13 files changed

+21
-12
lines changed
  • blog
  • docs/user_docs/guides/working-with-kubevela
  • examples/kubevela
  • i18n/zh-CN
    • docusaurus-plugin-content-blog
    • docusaurus-plugin-content-docs
      • current/user_docs/guides/working-with-kubevela
      • version-0.10/user_docs/guides/working-with-kubevela
  • versioned_docs/version-0.10/user_docs/guides/working-with-kubevela

13 files changed

+21
-12
lines changed

blog/2023-12-15-kubevela-integration/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ oam.Application {
102102
name = metadata.name
103103
type = "webservice"
104104
properties = {
105-
image = "kcllang/kcl"
105+
image = "kcllang/kcl:v0.9.0"
106106
ports = [{port = 80, expose = True}]
107107
cmd = ["kcl", "play"]
108108
}

blog/2023-12-21-biweekly-newsletter/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ oam.Application {
9292
name = metadata.name
9393
type = "webservice"
9494
properties = {
95-
image = "kcllang/kcl"
95+
image = "kcllang/kcl:v0.9.0"
9696
ports = [{port = 80, expose = True}]
9797
cmd = ["kcl", "play"]
9898
}

docs/user_docs/guides/working-with-kubevela/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ oam.Application {
6060
name = metadata.name
6161
type = "webservice"
6262
properties = {
63-
image = "kcllang/kcl"
63+
image = "kcllang/kcl:v0.9.0"
6464
ports = [{port = 80, expose = True}]
6565
cmd = ["kcl", "play"]
6666
}

examples/kubevela/inherit-oam-app/main.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ MyApplication {
1414
name = metadata.name
1515
type = "webservice"
1616
properties = {
17-
image = "kcllang/kcl"
17+
image = "kcllang/kcl:v0.9.0"
1818
ports = [{port = 80, expose = True}]
1919
cmd = ["kcl", "play"]
2020
}

examples/kubevela/kcl-play-svc/kcl.mod.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
name = "k8s"
44
full_name = "k8s_1.28.1"
55
version = "1.28.1"
6+
reg = "ghcr.io"
7+
repo = "kcl-lang/k8s"
8+
oci_tag = "1.28.1"
69
[dependencies.oam]
710
name = "oam"
811
full_name = "oam_0.1.0"

examples/kubevela/kcl-play-svc/main.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ oam.Application {
66
name = metadata.name
77
type = "webservice"
88
properties = {
9-
image = "kcllang/kcl"
9+
image = "kcllang/kcl:v0.9.0"
1010
ports = [{port = 80, expose = True}]
1111
cmd = ["kcl", "play"]
1212
}

examples/kubevela/template-oam-app/kcl.mod.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33
name = "k8s"
44
full_name = "k8s_1.31.2"
55
version = "1.31.2"
6+
reg = "ghcr.io"
7+
repo = "kcl-lang/k8s"
8+
oci_tag = "1.31.2"
69
[dependencies.oam]
710
name = "oam"
811
full_name = "oam_0.2.1"
912
version = "0.2.1"
1013
sum = "bz5HT/ggMm6heYVUOaZd5mOLIv/q2jicXupv0ChDlsE="
14+
reg = "ghcr.io"
15+
repo = "kcl-lang/oam"
16+
oci_tag = "0.2.1"

examples/kubevela/template-oam-app/main.k

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ schema MyApplication[template: MyTemplate](oam.Application):
1313
name = metadata.name
1414
type = "webservice"
1515
properties = {
16-
image = "kcllang/kcl"
16+
image = "kcllang/kcl:v0.9.0"
1717
ports = [{port = 80, expose = True}]
1818
cmd = ["kcl", "play"]
1919
}
@@ -22,6 +22,6 @@ schema MyApplication[template: MyTemplate](oam.Application):
2222

2323
MyApplication({
2424
name = "kcl-play-svc"
25-
image = "kcllang/kcl"
25+
image = "kcllang/kcl:v0.9.0"
2626
cmd: ["kcl", "play"]
2727
}) {}

i18n/zh-CN/docusaurus-plugin-content-blog/2023-12-15-kubevela-integration/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ oam.Application {
104104
name = metadata.name
105105
type = "webservice"
106106
properties = {
107-
image = "kcllang/kcl"
107+
image = "kcllang/kcl:v0.9.0"
108108
ports = [{port = 80, expose = True}]
109109
cmd = ["kcl", "play"]
110110
}

i18n/zh-CN/docusaurus-plugin-content-blog/2023-12-21-biweekly-newsletter/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ oam.Application {
9090
name = metadata.name
9191
type = "webservice"
9292
properties = {
93-
image = "kcllang/kcl"
93+
image = "kcllang/kcl:v0.9.0"
9494
ports = [{port = 80, expose = True}]
9595
cmd = ["kcl", "play"]
9696
}

i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/guides/working-with-kubevela/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ oam.Application {
6060
name = metadata.name
6161
type = "webservice"
6262
properties = {
63-
image = "kcllang/kcl"
63+
image = "kcllang/kcl:v0.9.0"
6464
ports = [{port = 80, expose = True}]
6565
cmd = ["kcl", "play"]
6666
}

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/guides/working-with-kubevela/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ oam.Application {
6060
name = metadata.name
6161
type = "webservice"
6262
properties = {
63-
image = "kcllang/kcl"
63+
image = "kcllang/kcl:v0.9.0"
6464
ports = [{port = 80, expose = True}]
6565
cmd = ["kcl", "play"]
6666
}

versioned_docs/version-0.10/user_docs/guides/working-with-kubevela/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ oam.Application {
6060
name = metadata.name
6161
type = "webservice"
6262
properties = {
63-
image = "kcllang/kcl"
63+
image = "kcllang/kcl:v0.9.0"
6464
ports = [{port = 80, expose = True}]
6565
cmd = ["kcl", "play"]
6666
}

0 commit comments

Comments
 (0)