Skip to content

Commit

Permalink
[bitnami/opensearch] fix: add apiVersion and kind to volumeClaimTempl…
Browse files Browse the repository at this point in the history
…ates (#29360)

* fix: add apiVersion and kind to volumeClaimTemplates

Signed-off-by: Abdullah Alaqeel <[email protected]>
Signed-off-by: Abdullah Alaqeel <[email protected]>

* Update CHANGELOG.md

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

---------

Signed-off-by: Abdullah Alaqeel <[email protected]>
Signed-off-by: Abdullah Alaqeel <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
  • Loading branch information
aqeelat and bitnami-bot authored Sep 11, 2024
1 parent c44ac28 commit dce854e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
6 changes: 5 additions & 1 deletion bitnami/opensearch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 1.3.1 (2024-09-11)

* [bitnami/opensearch] fix: add apiVersion and kind to volumeClaimTemplates ([#29360](https://github.com/bitnami/charts/pull/29360))

## 1.3.0 (2024-09-09)

* [bitnami/opensearch] feat: :sparkles: Add metrics ([#29307](https://github.com/bitnami/charts/pull/29307))
* [bitnami/opensearch] feat: :sparkles: Add metrics (#29307) ([181f600](https://github.com/bitnami/charts/commit/181f600561b3110251730540731572a4d7be0a1d)), closes [#29307](https://github.com/bitnami/charts/issues/29307)

## <small>1.2.13 (2024-09-09)</small>

Expand Down
2 changes: 1 addition & 1 deletion bitnami/opensearch/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ maintainers:
name: opensearch
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/opensearch
version: 1.3.0
version: 1.3.1
4 changes: 3 additions & 1 deletion bitnami/opensearch/templates/data/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ spec:
claimName: {{ .Values.data.persistence.existingClaim }}
{{- else }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "data"
{{- if or .Values.data.persistence.annotations .Values.commonAnnotations }}
{{- $claimAnnotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.data.persistence.annotations .Values.commonAnnotations ) "context" . ) }}
Expand Down
4 changes: 3 additions & 1 deletion bitnami/opensearch/templates/master/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,9 @@ spec:
claimName: {{ .Values.master.persistence.existingClaim }}
{{- else }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "data"
{{- if or .Values.master.persistence.annotations .Values.commonAnnotations }}
{{- $claimAnnotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.master.persistence.annotations .Values.commonAnnotations ) "context" . ) }}
Expand Down

0 comments on commit dce854e

Please sign in to comment.