csi: csi-snapshotter flag typo; upgrade csi-snapshotter
Signed-off-by: Steven Kreitzer <skre@skre.me>
(cherry picked from commit 463d9fb420)
This commit is contained in:
1 parent
fb5ab477a2
commit
477b7fd0f4
9 files changed
+10
-10
No files matched your search
@@ -132,7 +132,7 @@ The following table lists the configurable parameters of the rook-operator chart
|
||||
| `csi.serviceMonitor.namespace` | Use a different namespace for the ServiceMonitor | `nil` |
|
||||
| `csi.sidecarLogLevel` | Set logging level for Kubernetes-csi sidecar containers. Supported values from 0 to 5. 0 for general useful logs (the default), 5 for trace level verbosity. | `0` |
|
||||
| `csi.snapshotter.repository` | Kubernetes CSI snapshotter image repository | `"registry.k8s.io/sig-storage/csi-snapshotter"` |
|
||||
| `csi.snapshotter.tag` | Snapshotter image tag | `"v8.0.1"` |
|
||||
| `csi.snapshotter.tag` | Snapshotter image tag | `"v8.2.0"` |
|
||||
| `csi.topology.domainLabels` | domainLabels define which node labels to use as domains for CSI nodeplugins to advertise their domains | `nil` |
|
||||
| `csi.topology.enabled` | Enable topology based provisioning | `false` |
|
||||
| `currentNamespaceOnly` | Whether the operator should watch cluster CRD in its own namespace or not | `false` |
|
||||
|
||||
@@ -23,7 +23,7 @@ ROOK_CSI_REGISTRAR_IMAGE: "registry.k8s.io/sig-storage/csi-node-driver-registrar
|
||||
ROOK_CSI_PROVISIONER_IMAGE: "registry.k8s.io/sig-storage/csi-provisioner:v5.0.1"
|
||||
ROOK_CSI_ATTACHER_IMAGE: "registry.k8s.io/sig-storage/csi-attacher:v4.6.1"
|
||||
ROOK_CSI_RESIZER_IMAGE: "registry.k8s.io/sig-storage/csi-resizer:v1.11.1"
|
||||
ROOK_CSI_SNAPSHOTTER_IMAGE: "registry.k8s.io/sig-storage/csi-snapshotter:v8.0.1"
|
||||
ROOK_CSI_SNAPSHOTTER_IMAGE: "registry.k8s.io/sig-storage/csi-snapshotter:v8.2.0"
|
||||
ROOK_CSIADDONS_IMAGE: "quay.io/csiaddons/k8s-sidecar:v0.11.0"
|
||||
```
|
||||
|
||||
|
||||
@@ -498,7 +498,7 @@ csi:
|
||||
# -- Kubernetes CSI snapshotter image repository
|
||||
repository: registry.k8s.io/sig-storage/csi-snapshotter
|
||||
# -- Snapshotter image tag
|
||||
tag: v8.0.1
|
||||
tag: v8.2.0
|
||||
|
||||
attacher:
|
||||
# -- Kubernetes CSI Attacher image repository
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.11.1
|
||||
registry.k8s.io/sig-storage/csi-provisioner:v5.0.1
|
||||
registry.k8s.io/sig-storage/csi-resizer:v1.11.1
|
||||
registry.k8s.io/sig-storage/csi-snapshotter:v8.0.1
|
||||
registry.k8s.io/sig-storage/csi-snapshotter:v8.2.0
|
||||
@@ -193,7 +193,7 @@ data:
|
||||
# ROOK_CSI_REGISTRAR_IMAGE: "registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.11.1"
|
||||
# ROOK_CSI_RESIZER_IMAGE: "registry.k8s.io/sig-storage/csi-resizer:v1.11.1"
|
||||
# ROOK_CSI_PROVISIONER_IMAGE: "registry.k8s.io/sig-storage/csi-provisioner:v5.0.1"
|
||||
# ROOK_CSI_SNAPSHOTTER_IMAGE: "registry.k8s.io/sig-storage/csi-snapshotter:v8.0.1"
|
||||
# ROOK_CSI_SNAPSHOTTER_IMAGE: "registry.k8s.io/sig-storage/csi-snapshotter:v8.2.0"
|
||||
# ROOK_CSI_ATTACHER_IMAGE: "registry.k8s.io/sig-storage/csi-attacher:v4.6.1"
|
||||
|
||||
# (Optional) set user created priorityclassName for csi plugin pods.
|
||||
|
||||
@@ -123,7 +123,7 @@ data:
|
||||
# ROOK_CSI_REGISTRAR_IMAGE: "registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.11.1"
|
||||
# ROOK_CSI_RESIZER_IMAGE: "registry.k8s.io/sig-storage/csi-resizer:v1.11.1"
|
||||
# ROOK_CSI_PROVISIONER_IMAGE: "registry.k8s.io/sig-storage/csi-provisioner:v5.0.1"
|
||||
# ROOK_CSI_SNAPSHOTTER_IMAGE: "registry.k8s.io/sig-storage/csi-snapshotter:v8.0.1"
|
||||
# ROOK_CSI_SNAPSHOTTER_IMAGE: "registry.k8s.io/sig-storage/csi-snapshotter:v8.2.0"
|
||||
# ROOK_CSI_ATTACHER_IMAGE: "registry.k8s.io/sig-storage/csi-attacher:v4.6.1"
|
||||
|
||||
# To indicate the image pull policy to be applied to all the containers in the csi driver pods.
|
||||
|
||||
@@ -315,11 +315,11 @@ func (r *ReconcileCSI) setParams() error {
|
||||
disableVGS := strings.EqualFold(k8sutil.GetValue(r.opConfig.Parameters, "CSI_ENABLE_VOLUME_GROUP_SNAPSHOT", "true"), "false")
|
||||
const (
|
||||
enableVolumeGroupSnapshotFlag = "--enable-volume-group-snapshots="
|
||||
featureGateFlag = "--feature-gate=CSIVolumeGroupSnapshot="
|
||||
featureGateFlag = "--feature-gates=CSIVolumeGroupSnapshot="
|
||||
)
|
||||
// Check for "v1alpha1" version to determine the appropriate CLI flag
|
||||
// In the "v1alpha1" version, we use the '--enable-volume-group-snapshots' flag.
|
||||
// In later versions (e.g., "v1beta1"), we use the '--feature-gate=CSIVolumeGroupSnapshot' flag.
|
||||
// In later versions (e.g., "v1beta1"), we use the '--feature-gates=CSIVolumeGroupSnapshot' flag.
|
||||
if ver.Name == "v1alpha1" {
|
||||
CSIParam.VolumeGroupSnapshotCLIFlag = enableVolumeGroupSnapshotFlag + "true"
|
||||
} else {
|
||||
|
||||
@@ -135,7 +135,7 @@ var (
|
||||
DefaultRegistrarImage = "registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.11.1"
|
||||
DefaultProvisionerImage = "registry.k8s.io/sig-storage/csi-provisioner:v5.0.1"
|
||||
DefaultAttacherImage = "registry.k8s.io/sig-storage/csi-attacher:v4.6.1"
|
||||
DefaultSnapshotterImage = "registry.k8s.io/sig-storage/csi-snapshotter:v8.0.1"
|
||||
DefaultSnapshotterImage = "registry.k8s.io/sig-storage/csi-snapshotter:v8.2.0"
|
||||
DefaultResizerImage = "registry.k8s.io/sig-storage/csi-resizer:v1.11.1"
|
||||
DefaultCSIAddonsImage = "quay.io/csiaddons/k8s-sidecar:v0.11.0"
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ import (
|
||||
const (
|
||||
// snapshotterVersion from which the snapshotcontroller and CRD will be
|
||||
// installed
|
||||
snapshotterVersion = "v8.0.1"
|
||||
snapshotterVersion = "v8.2.0"
|
||||
repoURL = "https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter"
|
||||
rbacPath = "deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml"
|
||||
controllerPath = "deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml"
|
||||
|
||||
Reference in new issue
Block a user