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. 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 }}