Skip to content

Commit

Permalink
add missing API version and kind for volumeClaimTemplates (#1107)
Browse files Browse the repository at this point in the history
* add missing API version and kind for volumeClaimTemplates

* add changelogs
  • Loading branch information
Haleygo authored Jul 5, 2024
1 parent 87e078c commit 8ff58b9
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/victoria-logs-single/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/victoria-metrics-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion charts/victoria-metrics-agent/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/victoria-metrics-anomaly/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion charts/victoria-metrics-anomaly/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/victoria-metrics-cluster/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/victoria-metrics-single/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8ff58b9

Please sign in to comment.