Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deploy/kubernetes/base/ds-csi-linode-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
hostNetwork: true
containers:
- name: csi-node-driver-registrar
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v1.3.0
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.12.0
args:
- "--v=2"
- "--csi-address=$(ADDRESS)"
Expand All @@ -54,7 +54,7 @@ spec:
mountPath: /csi
- name: registration-dir
mountPath: /registration
- name: csi-linode-plugin
- name: linode-csi-plugin
image: linode/linode-blockstorage-csi-driver:latest
args :
- "--v=2"
Expand Down
6 changes: 3 additions & 3 deletions deploy/kubernetes/base/ss-csi-linode-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
mountPath: /scripts
containers:
- name: csi-provisioner
image: registry.k8s.io/sig-storage/csi-provisioner:v3.0.0
image: registry.k8s.io/sig-storage/csi-provisioner:v5.1.0
imagePullPolicy: IfNotPresent
args:
- "--default-fstype=ext4"
Expand All @@ -51,7 +51,7 @@ spec:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: csi-attacher
image: registry.k8s.io/sig-storage/csi-attacher:v3.3.0
image: registry.k8s.io/sig-storage/csi-attacher:v4.7.0
imagePullPolicy: IfNotPresent
args:
- "--v=2"
Expand All @@ -63,7 +63,7 @@ spec:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: csi-resizer
image: registry.k8s.io/sig-storage/csi-resizer:v1.3.0
image: registry.k8s.io/sig-storage/csi-resizer:v1.12.0
imagePullPolicy: IfNotPresent
args:
- "--v=2"
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/csi-driver/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
key: {{ if .Values.secretRef }}{{ .Values.secretRef.apiTokenRef | default "token" }}{{ else }}"token"{{ end }}
image: {{ .Values.csiLinodePlugin.image }}:{{ .Values.csiLinodePlugin.tag | default .Chart.AppVersion }}
imagePullPolicy: {{ .Values.csiLinodePlugin.pullPolicy }}
name: csi-linode-plugin
name: linode-csi-plugin
securityContext:
allowPrivilegeEscalation: true
capabilities:
Expand Down
8 changes: 4 additions & 4 deletions helm-chart/csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ defaultStorageClass: linode-block-storage-retain

csiProvisioner:
image: registry.k8s.io/sig-storage/csi-provisioner
tag: v3.0.0
tag: v5.1.0
pullPolicy: IfNotPresent

csiAttacher:
image: registry.k8s.io/sig-storage/csi-attacher
tag: v3.3.0
tag: v4.7.0
pullPolicy: IfNotPresent

csiResizer:
image: registry.k8s.io/sig-storage/csi-resizer
tag: v1.3.0
tag: v1.12.0
pullPolicy: IfNotPresent

csiLinodePlugin:
Expand All @@ -56,4 +56,4 @@ kubectl:

csiNodeDriverRegistrar:
image: registry.k8s.io/sig-storage/csi-node-driver-registrar
tag: v1.3.0
tag: v2.12.0
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ spec:
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
image: registry.k8s.io/sig-storage/csi-provisioner:v3.0.0
image: registry.k8s.io/sig-storage/csi-provisioner:v5.1.0
imagePullPolicy: IfNotPresent
name: csi-provisioner
volumeMounts:
Expand All @@ -329,7 +329,7 @@ spec:
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
image: registry.k8s.io/sig-storage/csi-attacher:v3.3.0
image: registry.k8s.io/sig-storage/csi-attacher:v4.7.0
imagePullPolicy: IfNotPresent
name: csi-attacher
volumeMounts:
Expand All @@ -341,23 +341,18 @@ spec:
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
image: registry.k8s.io/sig-storage/csi-resizer:v1.3.0
image: registry.k8s.io/sig-storage/csi-resizer:v1.12.0
imagePullPolicy: IfNotPresent
name: csi-resizer
volumeMounts:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir
- args:
- --endpoint=$(CSI_ENDPOINT)
- --token=$(LINODE_TOKEN)
- --url=$(LINODE_API_URL)
- --node=$(NODE_NAME)
- --bs-prefix=$(LINODE_BS_PREFIX)
- --v=2
env:
- name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
- name: LINODE_API_URL
- name: LINODE_URL
value: https://api.linode.com/v4
- name: LINODE_BS_PREFIX
- name: NODE_NAME
Expand Down Expand Up @@ -444,23 +439,19 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v1.3.0
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.12.0
name: csi-node-driver-registrar
volumeMounts:
- mountPath: /csi
name: plugin-dir
- mountPath: /registration
name: registration-dir
- args:
- --endpoint=$(CSI_ENDPOINT)
- --token=$(LINODE_TOKEN)
- --url=$(LINODE_API_URL)
- --node=$(NODE_NAME)
- --v=2
env:
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
- name: LINODE_API_URL
- name: LINODE_URL
value: https://api.linode.com/v4
- name: NODE_NAME
valueFrom:
Expand All @@ -473,7 +464,7 @@ spec:
name: linode
image: linode/linode-blockstorage-csi-driver:latest
imagePullPolicy: Always
name: csi-linode-plugin
name: linode-csi-plugin
securityContext:
allowPrivilegeEscalation: true
capabilities:
Expand Down Expand Up @@ -566,7 +557,7 @@ spec:
type: Directory
name: tmp
---
apiVersion: storage.k8s.io/v1beta1
apiVersion: storage.k8s.io/v1
kind: CSIDriver
metadata:
name: linodebs.csi.linode.com
Expand Down
6 changes: 4 additions & 2 deletions tests/e2e/test/pod-pvc-luks-mov-volume/chainsaw-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ spec:
- name: NAMESPACE
value: ($namespace)
content: |
kubectl rollout restart statefulset test-statefulset -n $NAMESPACE
kubectl rollout restart statefulset test-statefulset -n $NAMESPACE && \
kubectl rollout status statefulset/test-statefulset -n $NAMESPACE --timeout=300s
check:
($error): ~
- name: Check if Pod is ready and Volume is mounted (On worker node)
Expand Down Expand Up @@ -211,7 +212,8 @@ spec:
- name: NAMESPACE
value: ($namespace)
content: |
kubectl rollout restart statefulset test-statefulset -n $NAMESPACE
kubectl rollout restart statefulset test-statefulset -n $NAMESPACE && \
kubectl rollout status statefulset/test-statefulset -n $NAMESPACE --timeout=300s
check:
($error): ~
- name: Check if Pod is ready and Volume is mounted (after moving back to control plane node)
Expand Down
Loading