diff --git a/charts/victoria-logs-single/CHANGELOG.md b/charts/victoria-logs-single/CHANGELOG.md index ef9aacf33..50966edf8 100644 --- a/charts/victoria-logs-single/CHANGELOG.md +++ b/charts/victoria-logs-single/CHANGELOG.md @@ -2,7 +2,7 @@ ## Next release -- TODO +- add missing API version and kind for volumeClaimTemplates, see [this issue](/~https://github.com/VictoriaMetrics/helm-charts/issues/1092). ## 0.5.2 diff --git a/charts/victoria-logs-single/templates/server-statefulset.yaml b/charts/victoria-logs-single/templates/server-statefulset.yaml index eebe1deba..c2784d811 100644 --- a/charts/victoria-logs-single/templates/server-statefulset.yaml +++ b/charts/victoria-logs-single/templates/server-statefulset.yaml @@ -148,7 +148,9 @@ spec: {{- end }} {{- if and .Values.server.persistentVolume.enabled (not .Values.server.persistentVolume.existingClaim) }} volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: server-volume {{- if .Values.server.persistentVolume.annotations }} annotations: diff --git a/charts/victoria-metrics-agent/CHANGELOG.md b/charts/victoria-metrics-agent/CHANGELOG.md index d8ef62456..c74d4999d 100644 --- a/charts/victoria-metrics-agent/CHANGELOG.md +++ b/charts/victoria-metrics-agent/CHANGELOG.md @@ -2,7 +2,7 @@ ## Next release -- TODO +- add missing API version and kind for volumeClaimTemplates, see [this issue](/~https://github.com/VictoriaMetrics/helm-charts/issues/1092). ## 0.10.9 diff --git a/charts/victoria-metrics-agent/templates/statefulset.yaml b/charts/victoria-metrics-agent/templates/statefulset.yaml index 53dc1f3ce..c08b27bc3 100644 --- a/charts/victoria-metrics-agent/templates/statefulset.yaml +++ b/charts/victoria-metrics-agent/templates/statefulset.yaml @@ -220,7 +220,9 @@ spec: {{- end }} {{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }} volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: tmpdata {{- with .Values.persistence.extraLabels }} labels: diff --git a/charts/victoria-metrics-anomaly/CHANGELOG.md b/charts/victoria-metrics-anomaly/CHANGELOG.md index ab98ea36f..6caad777e 100644 --- a/charts/victoria-metrics-anomaly/CHANGELOG.md +++ b/charts/victoria-metrics-anomaly/CHANGELOG.md @@ -2,7 +2,7 @@ ## Next release -- TODO +- add missing API version and kind for volumeClaimTemplates, see [this issue](/~https://github.com/VictoriaMetrics/helm-charts/issues/1092). ## 1.3.0 diff --git a/charts/victoria-metrics-anomaly/templates/controller.yaml b/charts/victoria-metrics-anomaly/templates/controller.yaml index c56b5d398..02ce212f5 100644 --- a/charts/victoria-metrics-anomaly/templates/controller.yaml +++ b/charts/victoria-metrics-anomaly/templates/controller.yaml @@ -106,7 +106,9 @@ spec: {{- end }} {{- if and .Values.persistentVolume.enabled (not .Values.persistentVolume.existingClaim) }} volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: models-dump {{- if .Values.persistentVolume.annotations }} annotations: diff --git a/charts/victoria-metrics-cluster/CHANGELOG.md b/charts/victoria-metrics-cluster/CHANGELOG.md index f73f4c41a..af83f2d4e 100644 --- a/charts/victoria-metrics-cluster/CHANGELOG.md +++ b/charts/victoria-metrics-cluster/CHANGELOG.md @@ -2,7 +2,7 @@ ## Next release -- TODO +- add missing API version and kind for volumeClaimTemplates, see [this issue](/~https://github.com/VictoriaMetrics/helm-charts/issues/1092). ## 0.11.19 diff --git a/charts/victoria-metrics-cluster/templates/vmselect-statefulset.yaml b/charts/victoria-metrics-cluster/templates/vmselect-statefulset.yaml index 1482561ad..ad053dda3 100644 --- a/charts/victoria-metrics-cluster/templates/vmselect-statefulset.yaml +++ b/charts/victoria-metrics-cluster/templates/vmselect-statefulset.yaml @@ -161,7 +161,9 @@ spec: {{- include "chart.license.volume" . | nindent 8 }} {{- if .Values.vmselect.persistentVolume.enabled }} volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: cache-volume {{- if .Values.vmselect.persistentVolume.annotations }} annotations: diff --git a/charts/victoria-metrics-cluster/templates/vmstorage-statefulset.yaml b/charts/victoria-metrics-cluster/templates/vmstorage-statefulset.yaml index 12cabf523..621146b9b 100644 --- a/charts/victoria-metrics-cluster/templates/vmstorage-statefulset.yaml +++ b/charts/victoria-metrics-cluster/templates/vmstorage-statefulset.yaml @@ -226,7 +226,9 @@ spec: {{- include "chart.license.volume" . | nindent 8 }} {{- if and .Values.vmstorage.persistentVolume.enabled (not .Values.vmstorage.persistentVolume.existingClaim) }} volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: {{ .Values.vmstorage.persistentVolume.name }} {{- if .Values.vmstorage.persistentVolume.annotations }} annotations: diff --git a/charts/victoria-metrics-single/CHANGELOG.md b/charts/victoria-metrics-single/CHANGELOG.md index d57eda259..f8159e4d8 100644 --- a/charts/victoria-metrics-single/CHANGELOG.md +++ b/charts/victoria-metrics-single/CHANGELOG.md @@ -2,7 +2,7 @@ ## Next release -- TODO +- add missing API version and kind for volumeClaimTemplates, see [this issue](/~https://github.com/VictoriaMetrics/helm-charts/issues/1092). ## 0.9.22 diff --git a/charts/victoria-metrics-single/templates/server-statefulset.yaml b/charts/victoria-metrics-single/templates/server-statefulset.yaml index 121844a89..f7894b3ab 100644 --- a/charts/victoria-metrics-single/templates/server-statefulset.yaml +++ b/charts/victoria-metrics-single/templates/server-statefulset.yaml @@ -259,7 +259,9 @@ spec: {{- include "victoria-metrics.license.volume" . | nindent 8 }} {{- if and .Values.server.persistentVolume.enabled (not .Values.server.persistentVolume.existingClaim) }} volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: server-volume {{- if .Values.server.persistentVolume.annotations }} annotations: