Skip to content

Commit

Permalink
[bitnami/seaweedfs] fix: add apiVersion and kind to volumeClaimTempla…
Browse files Browse the repository at this point in the history
…tes (#29357)

* 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 12, 2024
1 parent c96e854 commit ed8879b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
8 changes: 6 additions & 2 deletions bitnami/seaweedfs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 1.1.0 (2024-09-09)
## 1.1.1 (2024-09-11)

* bitnami/seaweedfs external postgres database support ([#29216](https://github.com/bitnami/charts/pull/29216))
* [bitnami/seaweedfs] fix: add apiVersion and kind to volumeClaimTemplates ([#29357](https://github.com/bitnami/charts/pull/29357))

## 1.1.0 (2024-09-10)

* bitnami/seaweedfs external postgres database support (#29216) ([dc9b740](https://github.com/bitnami/charts/commit/dc9b7402d1ea788f806e42b7fc7e5c025e003e2a)), closes [#29216](https://github.com/bitnami/charts/issues/29216)

## <small>1.0.9 (2024-08-19)</small>

Expand Down
2 changes: 1 addition & 1 deletion bitnami/seaweedfs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ name: seaweedfs
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/seawwedfs
- https://github.com/bitnami/containers/tree/main/bitnami/seaweedfs
version: 1.1.0
version: 1.1.1
4 changes: 3 additions & 1 deletion bitnami/seaweedfs/templates/master/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,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" .Values.master.persistence.annotations .Values.commonAnnotations "context" .) | fromYaml }}
Expand Down
4 changes: 3 additions & 1 deletion bitnami/seaweedfs/templates/volume/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,9 @@ spec:
volumeClaimTemplates:
{{- range .Values.volume.dataVolumes }}
{{- if and .persistence.enabled (not .persistence.existingClaim) }}
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ .name }}
{{- if or .persistence.annotations $.Values.commonAnnotations }}
{{- $claimAnnotations := include "common.tplvalues.merge" (dict "values" .persistence.annotations $.Values.commonAnnotations "context" $) | fromYaml }}
Expand Down

0 comments on commit ed8879b

Please sign in to comment.