From 9106fa189fd191c9f4291594492d109328f6047c Mon Sep 17 00:00:00 2001 From: David Gomez Date: Wed, 22 May 2024 08:54:43 +0200 Subject: [PATCH] [bitnami/solr] Use different liveness/readiness probes (#26125) * [bitnami/solr] Use different liveness/readiness probes Signed-off-by: David Gomez * Update CHANGELOG.md Signed-off-by: Bitnami Containers --------- Signed-off-by: David Gomez Signed-off-by: Bitnami Containers Co-authored-by: Bitnami Containers --- bitnami/solr/CHANGELOG.md | 7 ++++++- bitnami/solr/Chart.lock | 6 +++--- bitnami/solr/Chart.yaml | 3 ++- bitnami/solr/templates/metrics-deployment.yaml | 3 +-- bitnami/solr/templates/statefulset.yaml | 2 +- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/bitnami/solr/CHANGELOG.md b/bitnami/solr/CHANGELOG.md index c06abbba2fb357..d4c1eaed4d9d8d 100644 --- a/bitnami/solr/CHANGELOG.md +++ b/bitnami/solr/CHANGELOG.md @@ -1,8 +1,13 @@ # Changelog +## 9.2.1 (2024-05-21) + +* [bitnami/solr] Use different liveness/readiness probes ([#26125](https://github.com/bitnami/charts/pulls/26125)) + ## 9.2.0 (2024-05-21) -* [bitnami/solr] feat: :sparkles: :lock: Add warning when original images are replaced ([#26277](https://github.com/bitnami/charts/pulls/26277)) +* [bitnami/*] ci: :construction_worker: Add tag and changelog support (#25359) ([91c707c](https://github.com/bitnami/charts/commit/91c707c)), closes [#25359](https://github.com/bitnami/charts/issues/25359) +* [bitnami/solr] feat: :sparkles: :lock: Add warning when original images are replaced (#26277) ([816155e](https://github.com/bitnami/charts/commit/816155e)), closes [#26277](https://github.com/bitnami/charts/issues/26277) ## 9.1.6 (2024-05-18) diff --git a/bitnami/solr/Chart.lock b/bitnami/solr/Chart.lock index 5a3a82f8183b55..d582846175695b 100644 --- a/bitnami/solr/Chart.lock +++ b/bitnami/solr/Chart.lock @@ -1,9 +1,9 @@ dependencies: - name: zookeeper repository: oci://registry-1.docker.io/bitnamicharts - version: 13.2.3 + version: 13.3.0 - name: common repository: oci://registry-1.docker.io/bitnamicharts version: 2.19.3 -digest: sha256:5ec074d1704d0eaf798aa3d0c8a6ef4a9459a94ee3029b0e1621b790cf44e310 -generated: "2024-05-21T14:39:50.625630213+02:00" +digest: sha256:344b1f77eb0e4dddc6962899b8cc2892c652be5b8a96c88d9ad57708f9e61b93 +generated: "2024-05-21T18:02:59.596153+02:00" diff --git a/bitnami/solr/Chart.yaml b/bitnami/solr/Chart.yaml index 31f9a00ffe4a72..5acae93603bd49 100644 --- a/bitnami/solr/Chart.yaml +++ b/bitnami/solr/Chart.yaml @@ -34,4 +34,5 @@ maintainers: name: solr sources: - https://github.com/bitnami/charts/tree/main/bitnami/solr -version: 9.2.0 +version: 9.2.1 + diff --git a/bitnami/solr/templates/metrics-deployment.yaml b/bitnami/solr/templates/metrics-deployment.yaml index ec49725e8cf36c..6e74e070f44cde 100644 --- a/bitnami/solr/templates/metrics-deployment.yaml +++ b/bitnami/solr/templates/metrics-deployment.yaml @@ -162,8 +162,7 @@ spec: livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.metrics.customLivenessProbe "context" $) | nindent 12 }} {{- else if .Values.metrics.livenessProbe.enabled }} livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.metrics.livenessProbe "enabled") "context" $) | nindent 12 }} - httpGet: - path: "/metrics" + tcpSocket: port: {{ .Values.metrics.containerPorts.http }} {{- end }} {{- if .Values.metrics.customReadinessProbe }} diff --git a/bitnami/solr/templates/statefulset.yaml b/bitnami/solr/templates/statefulset.yaml index 061c5d67038506..b683737530238d 100644 --- a/bitnami/solr/templates/statefulset.yaml +++ b/bitnami/solr/templates/statefulset.yaml @@ -295,7 +295,7 @@ spec: - /bin/bash - -ec - | - curl --silent --connect-timeout 15000 {{ ternary "--user ${SOLR_ADMIN_USERNAME}:${SOLR_ADMIN_PASSWORD}" "" .Values.auth.enabled }} http://localhost:${SOLR_PORT_NUMBER}/api/node/health | grep --quiet '\"status\":\"OK\"' + curl --silent --connect-timeout 15000 {{ ternary "--user ${SOLR_ADMIN_USERNAME}:${SOLR_ADMIN_PASSWORD}" "" .Values.auth.enabled }} http://localhost:${SOLR_PORT_NUMBER}/solr/admin/info/system | grep --quiet '\"status\":0' {{- end }} {{- if .Values.customReadinessProbe }} readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" $) | nindent 12 }}