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 8a29dc359d97eb4e5575f4445139f8183dc808f8..8c44a379acfd2f085fa6e33f2e49fb0b29766e7f 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 571e2aaf5d0f378fd9e3414266c6e6f2fcc51a51..d0ae714486a5f4568bb15d1745a09ec142c648b4 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 = [