mirror of
https://github.com/bitnami/charts.git
synced 2026-04-02 07:17:26 +08:00
Add missing version, kind to kafka volumeClaimTemplates (#22728)
Signed-off-by: grouvie <20428462+grouvie@users.noreply.github.com>
This commit is contained in:
@@ -437,7 +437,9 @@ spec:
|
||||
{{- if or (and .Values.broker.persistence.enabled (not .Values.broker.persistence.existingClaim)) (and .Values.broker.logPersistence.enabled (not .Values.broker.logPersistence.existingClaim)) }}
|
||||
volumeClaimTemplates:
|
||||
{{- if and .Values.broker.persistence.enabled (not .Values.broker.persistence.existingClaim) }}
|
||||
- metadata:
|
||||
- apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: data
|
||||
{{- if .Values.broker.persistence.annotations }}
|
||||
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.broker.persistence.annotations "context" $) | nindent 10 }}
|
||||
@@ -459,7 +461,9 @@ spec:
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
{{- if and .Values.broker.logPersistence.enabled (not .Values.broker.logPersistence.existingClaim) }}
|
||||
- metadata:
|
||||
- apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: logs
|
||||
{{- if .Values.broker.logPersistence.annotations }}
|
||||
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.broker.logPersistence.annotations "context" $) | nindent 10 }}
|
||||
|
||||
Reference in New Issue
Block a user