From 55184626ab979bb8cb2e94bcaefedb67c4c0048b Mon Sep 17 00:00:00 2001 From: Pavel Kirilin <win10@list.ru> Date: Wed, 8 Sep 2021 13:29:27 +0400 Subject: [PATCH] Fixed kube-redis bug. Signed-off-by: Pavel Kirilin <win10@list.ru> --- .../template/{{cookiecutter.project_name}}/deploy/kube/app.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fastapi_template/template/{{cookiecutter.project_name}}/deploy/kube/app.yml b/fastapi_template/template/{{cookiecutter.project_name}}/deploy/kube/app.yml index 8a29dc3..8c44a37 100644 --- a/fastapi_template/template/{{cookiecutter.project_name}}/deploy/kube/app.yml +++ b/fastapi_template/template/{{cookiecutter.project_name}}/deploy/kube/app.yml @@ -32,7 +32,7 @@ spec: value: {{cookiecutter.kube_name}}-db-service {%- endif %} {%- endif %} - {%- if cookiecutter.enable_redis %} + {%- if cookiecutter.enable_redis == 'True' %} - name: {{cookiecutter.project_name | upper }}_REDIS_HOST value: {{cookiecutter.kube_name}}-redis-service {%- endif %} diff --git a/pyproject.toml b/pyproject.toml index 571e2aa..d0ae714 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "fastapi_template" -version = "2.2.2" +version = "2.2.3" description = "Feature-rich robust FastAPI template" authors = ["Pavel Kirilin <win10@list.ru>"] packages = [ -- GitLab