From 33dfbb046ea26c4bdaedc2a0ae58edaa6b7594bf Mon Sep 17 00:00:00 2001 From: Maximiliano Osorio Date: Thu, 5 Sep 2024 10:29:47 -0400 Subject: [PATCH 1/2] fix: add readiness to model catalog endpoint --- charts/mint/templates/model-catalog-endpoint.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/charts/mint/templates/model-catalog-endpoint.yaml b/charts/mint/templates/model-catalog-endpoint.yaml index cfe723e..3987590 100644 --- a/charts/mint/templates/model-catalog-endpoint.yaml +++ b/charts/mint/templates/model-catalog-endpoint.yaml @@ -44,7 +44,7 @@ spec: initContainers: - name: volume-mount-hack image: busybox - command: ["sh", "-c", "chown -R 9008 /fuseki-base"] + command: ["sh", "-c", "chown -R 9008 /fuseki-base", '&&', 'find /fuseki-base -name tdb.lock -delete'] volumeMounts: - name: db mountPath: /fuseki-base/databases @@ -80,9 +80,11 @@ spec: path: / port: http readinessProbe: - httpGet: - path: / - port: http + exec: + command: + - /bin/sh + - -c + - curl -f http://localhost:3030/$/ping volumes: - name: config {{- if .Values.components.model_catalog_endpoint.persistence.enabled }} From 5b4fee298061c8a6e19fd5eb14e9e45ebc2bd33d Mon Sep 17 00:00:00 2001 From: Maximiliano Osorio Date: Thu, 5 Sep 2024 10:30:42 -0400 Subject: [PATCH 2/2] dump --- charts/mint/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/mint/Chart.yaml b/charts/mint/Chart.yaml index 3d62d42..9dd4603 100644 --- a/charts/mint/Chart.yaml +++ b/charts/mint/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.3.1-alpha.1 +version: 3.3.1-alpha.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using.