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:
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 }}
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user