[bitnami/seaweedfs] fix: add apiVersion and kind to volumeClaimTemplates (#29357)

* fix: add apiVersion and kind to volumeClaimTemplates

Signed-off-by: Abdullah Alaqeel <abdullah.t.aqeel@gmail.com>
Signed-off-by: Abdullah Alaqeel <abdullah.alaqeel@fathom.io>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Abdullah Alaqeel <abdullah.t.aqeel@gmail.com>
Signed-off-by: Abdullah Alaqeel <abdullah.alaqeel@fathom.io>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Abdullah Alaqeel
2024-09-12 09:49:54 +03:00
committed by GitHub
parent c96e854ff0
commit ed8879b066
4 changed files with 13 additions and 5 deletions

View File

@@ -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>

View File

@@ -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

View File

@@ -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 }}

View File

@@ -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 }}