Skip to content

Commit

Permalink
[bitnami/solr] Use different liveness/readiness probes (#26125)
Browse files Browse the repository at this point in the history
* [bitnami/solr] Use different liveness/readiness probes

Signed-off-by: David Gomez <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: David Gomez <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
  • Loading branch information
2 people authored and javsalgar committed May 22, 2024
1 parent f5ea6f3 commit 9106fa1
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
7 changes: 6 additions & 1 deletion bitnami/solr/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

## <small>9.1.6 (2024-05-18)</small>

Expand Down
6 changes: 3 additions & 3 deletions bitnami/solr/Chart.lock
Original file line number Diff line number Diff line change
@@ -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"
3 changes: 2 additions & 1 deletion bitnami/solr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

3 changes: 1 addition & 2 deletions bitnami/solr/templates/metrics-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion bitnami/solr/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 9106fa1

Please sign in to comment.