From 74bfe4c4c03461ba9fb00e904fb0d4958ffddc30 Mon Sep 17 00:00:00 2001 From: Adriano Santos Date: Sun, 25 Aug 2024 21:11:23 -0300 Subject: [PATCH] fix: correct name of template attribute --- README.md | 1 + nodejs/cookiecutter.json | 1 + nodejs/{{cookiecutter.app_name}}/.k8s/host.yaml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 07bb3a9..b019f49 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ ### :bug: Bug Fixes - [`08e9894`](https://github.com/eigr/spawn-templates/commit/08e9894a65cd538a7de7774a3ebdab0af48235d3) - typo *(commit by @sleipnir)* +- [`3432dcf`](https://github.com/eigr/spawn-templates/commit/3432dcf9152057dee4d3087af9e900b759240b01) - correct attributes *(commit by @sleipnir)* ### :recycle: Refactors - [`8107300`](https://github.com/eigr/spawn-templates/commit/81073007ad72ece27d59dc0ae90ce032908d0074) - better readmes *(commit by @sleipnir)* diff --git a/nodejs/cookiecutter.json b/nodejs/cookiecutter.json index de5f981..7e0778e 100644 --- a/nodejs/cookiecutter.json +++ b/nodejs/cookiecutter.json @@ -3,6 +3,7 @@ "app_name_hyphenate": "spawn_example", "app_description": "Spawn Node App.", "app_image_tag": "ttl.sh/spawn-nodejs-example:1h", + "app_port": 8091, "spawn_system": "spawn-system", "spawn_app_spawn_system": "spawn-system", "spawn_app_namespace": "default", diff --git a/nodejs/{{cookiecutter.app_name}}/.k8s/host.yaml b/nodejs/{{cookiecutter.app_name}}/.k8s/host.yaml index a4eb8e5..9a0ddf5 100644 --- a/nodejs/{{cookiecutter.app_name}}/.k8s/host.yaml +++ b/nodejs/{{cookiecutter.app_name}}/.k8s/host.yaml @@ -5,7 +5,7 @@ metadata: name: {{ cookiecutter.app_name_hyphenate }} namespace: {{ cookiecutter.spawn_app_namespace }} annotations: - spawn-eigr.io/actor-system: {{ cookiecutter.spawn_app_spawm_system }} + spawn-eigr.io/actor-system: {{ cookiecutter.spawn_app_spawn_system }} spec: host: image: {{ cookiecutter.app_image_tag }}