diff --git a/charts/crate/Chart.yaml b/charts/crate/Chart.yaml index 25b6f06..b907212 100644 --- a/charts/crate/Chart.yaml +++ b/charts/crate/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: 'CrateDB chart' name: crate -version: 0.1.14 +version: 0.1.15 icon: https://crate.io/wp-content/themes/webflow/images/logo-crate.png sources: - https://github.com/crate/crate diff --git a/charts/crate/README.MD b/charts/crate/README.MD index ba4028e..071e293 100644 --- a/charts/crate/README.MD +++ b/charts/crate/README.MD @@ -42,7 +42,7 @@ The following table lists the configurable parameters of the cratedb chart and t |-----------------------------------|---------------------------------------------|-----------------------------------------------------| | `replicaCount` | Amount of pods to spawn | `3` | | `image.name` | The image to pull | `crate` | -| `image.tag` | The version of the image to pull | `4.2.1` | +| `image.tag` | The version of the image to pull | `4.6.7` | | `image.pullPolicy` | The pull policy | `IfNotPresent` | | `resources` | Any resources you wish to assign to the pod | `{}` | | `persistentVolume.accessModes` | Persistent Volume access modes | `[ReadWriteOnce]` | diff --git a/charts/crate/templates/statefulset.yaml b/charts/crate/templates/statefulset.yaml index 46cd246..5875f41 100644 --- a/charts/crate/templates/statefulset.yaml +++ b/charts/crate/templates/statefulset.yaml @@ -68,8 +68,8 @@ spec: fieldPath: metadata.name {{- if .Values.livenessProbe.enabled }} livenessProbe: - exec: - command: ["sh", "-c", "curl -I http://localhost:4200 2&>/dev/null | grep '\"200\" : true'"] + httpGet: + port: {{ .Values.service.adminName }} initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }} timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} failureThreshold: {{ .Values.livenessProbe.failureThreshold }} @@ -79,7 +79,7 @@ spec: {{- if .Values.readinessProbe.enabled }} readinessProbe: exec: - command: ["sh", "-c", "curl http://localhost:4200 2&>/dev/null | grep '\"ok\" : true'"] + command: ["sh", "-c", "curl -s http://localhost:4200 | grep -q '\"ok\" : true,'"] initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }} timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} failureThreshold: {{ .Values.readinessProbe.failureThreshold }} diff --git a/charts/crate/values.yaml b/charts/crate/values.yaml index aeb3a88..06e9bcb 100644 --- a/charts/crate/values.yaml +++ b/charts/crate/values.yaml @@ -6,7 +6,7 @@ app: crate image: name: crate - tag: 4.0.12 + tag: 4.6.7 pullPolicy: IfNotPresent service: