Skip to content

Commit

Permalink
Update hostpath and mock csi drivers with latest sidecars
Browse files Browse the repository at this point in the history
Change-Id: Ib1db651a94e49bbfb609ac0470794a6b5d0726ec
  • Loading branch information
msau42 committed Jan 9, 2020
1 parent 6099a73 commit d829d9b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
serviceAccountName: csi-attacher
containers:
- name: csi-attacher
image: quay.io/k8scsi/csi-attacher:v2.0.0
image: quay.io/k8scsi/csi-attacher:v2.1.0
args:
- --v=5
- --csi-address=/csi/csi.sock
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ spec:
serviceAccountName: csi-provisioner
containers:
- name: csi-provisioner
# TODO: replace with official 1.5.0 release when ready
image: quay.io/k8scsi/csi-provisioner:v1.5.0-rc1
image: quay.io/k8scsi/csi-provisioner:v1.5.0
args:
- -v=5
- --csi-address=/csi/csi.sock
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
serviceAccountName: csi-resizer
containers:
- name: csi-resizer
image: quay.io/k8scsi/csi-resizer:v0.3.0
image: quay.io/k8scsi/csi-resizer:v0.4.0
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
Expand All @@ -42,7 +42,6 @@ spec:
# non-privileged sidecar containers cannot access unix domain socket
# created by privileged CSI driver container.
privileged: true
imagePullPolicy: Always
volumeMounts:
- mountPath: /csi
name: socket-dir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ spec:
serviceAccount: csi-snapshotter
containers:
- name: csi-snapshotter
# TODO: replace with official 2.0.0 release when ready
image: quay.io/k8scsi/csi-snapshotter:v2.0.0-rc2
image: quay.io/k8scsi/csi-snapshotter:v2.0.0
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
Expand All @@ -43,7 +42,6 @@ spec:
# non-privileged sidecar containers cannot access unix domain socket
# created by privileged CSI driver container.
privileged: true
imagePullPolicy: Always
volumeMounts:
- name: socket-dir
mountPath: /csi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ spec:
serviceAccountName: csi-mock
containers:
- name: csi-attacher
image: quay.io/k8scsi/csi-attacher:v1.1.0
image: quay.io/k8scsi/csi-attacher:v2.1.0
args:
- --v=5
- --csi-address=$(ADDRESS)
env:
- name: ADDRESS
value: /csi/csi.sock
imagePullPolicy: Always
securityContext:
privileged: true
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ spec:
serviceAccountName: csi-mock
containers:
- name: csi-resizer
image: quay.io/k8scsi/csi-resizer:v0.1.0
image: quay.io/k8scsi/csi-resizer:v0.4.0
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
env:
- name: ADDRESS
value: /csi/csi.sock
imagePullPolicy: Always
securityContext:
privileged: true
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,18 @@ spec:
serviceAccountName: csi-mock
containers:
- name: csi-provisioner
# TODO: replace with official 1.4.0 release when ready
image: quay.io/k8scsi/csi-provisioner:v1.4.0-rc1
image: quay.io/k8scsi/csi-provisioner:v1.5.0
args:
- "--csi-address=$(ADDRESS)"
- "--connection-timeout=15s"
env:
- name: ADDRESS
value: /csi/csi.sock
imagePullPolicy: Always
volumeMounts:
- mountPath: /csi
name: socket-dir
- name: driver-registrar
image: quay.io/k8scsi/csi-node-driver-registrar:v1.1.0
image: quay.io/k8scsi/csi-node-driver-registrar:v1.2.0
args:
- --v=5
- --csi-address=/csi/csi.sock
Expand All @@ -39,7 +37,6 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
imagePullPolicy: Always
securityContext:
privileged: true
volumeMounts:
Expand All @@ -62,7 +59,6 @@ spec:
fieldPath: spec.nodeName
securityContext:
privileged: true
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /csi
name: socket-dir
Expand Down

0 comments on commit d829d9b

Please sign in to comment.