diff --git a/blog/2023-12-15-kubevela-integration/index.md b/blog/2023-12-15-kubevela-integration/index.md index 6778da92..6098e899 100644 --- a/blog/2023-12-15-kubevela-integration/index.md +++ b/blog/2023-12-15-kubevela-integration/index.md @@ -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"] } diff --git a/blog/2023-12-21-biweekly-newsletter/index.md b/blog/2023-12-21-biweekly-newsletter/index.md index 8845d187..fecbe591 100644 --- a/blog/2023-12-21-biweekly-newsletter/index.md +++ b/blog/2023-12-21-biweekly-newsletter/index.md @@ -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"] } diff --git a/docs/user_docs/guides/working-with-kubevela/index.md b/docs/user_docs/guides/working-with-kubevela/index.md index dcd0bbc7..26c7239c 100644 --- a/docs/user_docs/guides/working-with-kubevela/index.md +++ b/docs/user_docs/guides/working-with-kubevela/index.md @@ -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"] } diff --git a/examples/kubevela/inherit-oam-app/main.k b/examples/kubevela/inherit-oam-app/main.k index 699c2c4d..29134f0a 100644 --- a/examples/kubevela/inherit-oam-app/main.k +++ b/examples/kubevela/inherit-oam-app/main.k @@ -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"] } diff --git a/examples/kubevela/kcl-play-svc/kcl.mod.lock b/examples/kubevela/kcl-play-svc/kcl.mod.lock index 89b97790..cbbb7dbd 100644 --- a/examples/kubevela/kcl-play-svc/kcl.mod.lock +++ b/examples/kubevela/kcl-play-svc/kcl.mod.lock @@ -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" diff --git a/examples/kubevela/kcl-play-svc/main.k b/examples/kubevela/kcl-play-svc/main.k index 34dc0443..97d1690b 100644 --- a/examples/kubevela/kcl-play-svc/main.k +++ b/examples/kubevela/kcl-play-svc/main.k @@ -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"] } diff --git a/examples/kubevela/template-oam-app/kcl.mod.lock b/examples/kubevela/template-oam-app/kcl.mod.lock index 972bf458..4d45e340 100644 --- a/examples/kubevela/template-oam-app/kcl.mod.lock +++ b/examples/kubevela/template-oam-app/kcl.mod.lock @@ -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" diff --git a/examples/kubevela/template-oam-app/main.k b/examples/kubevela/template-oam-app/main.k index 4a545ec6..b0b06b37 100644 --- a/examples/kubevela/template-oam-app/main.k +++ b/examples/kubevela/template-oam-app/main.k @@ -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"] } @@ -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"] }) {} diff --git a/i18n/zh-CN/docusaurus-plugin-content-blog/2023-12-15-kubevela-integration/index.md b/i18n/zh-CN/docusaurus-plugin-content-blog/2023-12-15-kubevela-integration/index.md index 21b209b5..de960967 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-blog/2023-12-15-kubevela-integration/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-blog/2023-12-15-kubevela-integration/index.md @@ -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"] } diff --git a/i18n/zh-CN/docusaurus-plugin-content-blog/2023-12-21-biweekly-newsletter/index.md b/i18n/zh-CN/docusaurus-plugin-content-blog/2023-12-21-biweekly-newsletter/index.md index 9e106b61..fe6cc696 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-blog/2023-12-21-biweekly-newsletter/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-blog/2023-12-21-biweekly-newsletter/index.md @@ -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"] } diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/guides/working-with-kubevela/index.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/guides/working-with-kubevela/index.md index 0bb29f5b..4b14aa89 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/guides/working-with-kubevela/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/guides/working-with-kubevela/index.md @@ -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"] } diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/guides/working-with-kubevela/index.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/guides/working-with-kubevela/index.md index 0bb29f5b..4b14aa89 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/guides/working-with-kubevela/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/guides/working-with-kubevela/index.md @@ -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"] } diff --git a/versioned_docs/version-0.10/user_docs/guides/working-with-kubevela/index.md b/versioned_docs/version-0.10/user_docs/guides/working-with-kubevela/index.md index dcd0bbc7..26c7239c 100644 --- a/versioned_docs/version-0.10/user_docs/guides/working-with-kubevela/index.md +++ b/versioned_docs/version-0.10/user_docs/guides/working-with-kubevela/index.md @@ -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"] }