helm: drop snapshot.storage.k8s.io/v1beta1

v1 exists since k8s v1.20

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
(cherry picked from commit 1578d55b4d)
This commit is contained in:
Mathieu Parent authored and Mergify committed 2023-04-10 19:41:10 +00:00
1 parent f307da4bfa
commit 439d45db82
5 files changed
-20

No files matched your search

@@ -3,11 +3,7 @@
---
{{- if default false $filesystemvsc.enabled }}
{{- if .Capabilities.APIVersions.Has "snapshot.storage.k8s.io/v1" }}
apiVersion: snapshot.storage.k8s.io/v1
{{- else }}
apiVersion: snapshot.storage.k8s.io/v1beta1
{{- end }}
kind: VolumeSnapshotClass
metadata:
name: {{ $filesystemvsc.name }}
@@ -33,11 +29,7 @@ deletionPolicy: {{ default "Delete" $filesystemvsc.deletionPolicy }}
---
{{- if default false $blockpoolvsc.enabled }}
{{- if .Capabilities.APIVersions.Has "snapshot.storage.k8s.io/v1" }}
apiVersion: snapshot.storage.k8s.io/v1
{{- else }}
apiVersion: snapshot.storage.k8s.io/v1beta1
{{- end }}
kind: VolumeSnapshotClass
metadata:
name: {{ $blockpoolvsc.name }}
-3
View File
@@ -1,7 +1,4 @@
---
# 1.17 <= K8s <= v1.19
# apiVersion: snapshot.storage.k8s.io/v1beta1
# K8s >= v1.20
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:
@@ -1,7 +1,4 @@
---
# 1.17 <= K8s <= v1.19
# apiVersion: snapshot.storage.k8s.io/v1beta1
# K8s >= v1.20
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotClass
metadata:
-3
View File
@@ -1,7 +1,4 @@
---
# 1.17 <= K8s <= v1.19
# apiVersion: snapshot.storage.k8s.io/v1beta1
# K8s >= v1.20
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:
@@ -1,7 +1,4 @@
---
# 1.17 <= K8s <= v1.19
# apiVersion: snapshot.storage.k8s.io/v1beta1
# K8s >= v1.20
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotClass
metadata: