From 96ef796f31bae71aaf9428bb688b91bf30cf6df9 Mon Sep 17 00:00:00 2001 From: Kurt <10924313+Kurt108@users.noreply.github.com> Date: Fri, 9 Oct 2020 14:20:53 +0200 Subject: [PATCH] Feature/fix healthcheck route (#13) * else always WORKING is printed out but no resizing is done * thumbor.conf also needs this change --- charts/thumbor/Chart.yaml | 2 +- charts/thumbor/README.md | 4 ++-- charts/thumbor/templates/configmap.yaml | 2 +- charts/thumbor/values.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/thumbor/Chart.yaml b/charts/thumbor/Chart.yaml index 393b301..d3d0147 100755 --- a/charts/thumbor/Chart.yaml +++ b/charts/thumbor/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: thumbor icon: https://camo.githubusercontent.com/8add159463b5ef31481d1e0cc9fb590cd662fe62/68747470733a2f2f73332e65752d776573742d322e616d617a6f6e6177732e636f6d2f6d696e696d616c2d636f6d706163742f696d616765732f6d632d7468756d626f722e706e67 -version: 1.0.2 +version: 1.0.4 appVersion: "6.7.5" description: A chart containing Thumbor home: http://thumbor.org/ diff --git a/charts/thumbor/README.md b/charts/thumbor/README.md index b04bb9d..f1906dc 100644 --- a/charts/thumbor/README.md +++ b/charts/thumbor/README.md @@ -5,7 +5,7 @@ ======= A chart containing Thumbor -Current chart version is `1.0.2` +Current chart version is `1.0.4` ## Based on @@ -36,7 +36,7 @@ NAME: my-release | env.ALLOW_UNSAFE_URL | string | `"True"` | | | env.AUTO_WEBP | string | `"True"` | | | env.CORS_ALLOW_ORIGIN | string | `"*"` | | -| env.HEALTHCHECK_ROUTE | string | `"/"` | | +| env.HEALTHCHECK_ROUTE | string | `"/healthcheck"` | | | env.LOG_LEVEL | string | `"error"` | | | env.MAX_AGE | string | `"3600"` | | | env.MAX_AGE_TEMP_IMAGE | string | `"300"` | | diff --git a/charts/thumbor/templates/configmap.yaml b/charts/thumbor/templates/configmap.yaml index 7b26f39..d17bea5 100644 --- a/charts/thumbor/templates/configmap.yaml +++ b/charts/thumbor/templates/configmap.yaml @@ -248,7 +248,7 @@ data: - HEALTHCHECK_ROUTE = '/' + HEALTHCHECK_ROUTE = '/healthcheck' ################################### Metrics #################################### diff --git a/charts/thumbor/values.yaml b/charts/thumbor/values.yaml index eeb1662..9f67edc 100755 --- a/charts/thumbor/values.yaml +++ b/charts/thumbor/values.yaml @@ -6,7 +6,7 @@ env: RESULT_STORAGE: "thumbor.result_storages.no_storage" RESULT_STORAGE_STORES_UNSAFE: "True" STORAGE: "thumbor.storages.file_storage" - HEALTHCHECK_ROUTE: "/" + HEALTHCHECK_ROUTE: "/healthcheck" THUMBOR_PORT: "80" MAX_AGE: "3600" MAX_AGE_TEMP_IMAGE: "300"