Update linode
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2020-09-17 01:09:34 +02:00
parent 8cc1e01af4
commit 9b63f4c26a
6 changed files with 25 additions and 8 deletions

View file

@ -4,6 +4,8 @@ apiVersion: apps/v1
metadata:
name: csi-linode-controller
namespace: kube-system
labels:
app: csi-linode-controller
spec:
serviceName: "csi-linode"
replicas: 1
@ -34,7 +36,7 @@ spec:
mountPath: /scripts
containers:
- name: csi-provisioner
image: quay.io/k8scsi/csi-provisioner:v1.0.0
image: quay.io/k8scsi/csi-provisioner:v1.1.0
args:
- "--volume-name-prefix=pvc"
- "--volume-name-uuid-length=16"
@ -48,7 +50,7 @@ spec:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: csi-attacher
image: quay.io/k8scsi/csi-attacher:v1.0.0
image: quay.io/k8scsi/csi-attacher:v1.1.0
args:
- "--v=2"
- "--csi-address=$(ADDRESS)"
@ -59,8 +61,19 @@ spec:
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: linode-csi-resizer
image: quay.io/k8scsi/csi-resizer:v0.1.0
args:
- "--v=2"
- "--csi-address=$(ADDRESS)"
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: linode-csi-plugin
image: linode/linode-blockstorage-csi-driver:v0.1.6
image: linode/linode-blockstorage-csi-driver:v0.2.0
args :
- "--endpoint=$(CSI_ENDPOINT)"
- "--token=$(LINODE_TOKEN)"

View file

@ -4,6 +4,8 @@ apiVersion: apps/v1
metadata:
name: csi-linode-node
namespace: kube-system
labels:
app: csi-linode-node
spec:
selector:
matchLabels:
@ -56,7 +58,7 @@ spec:
- name: registration-dir
mountPath: /registration/
- name: csi-linode-plugin
image: linode/linode-blockstorage-csi-driver:v0.1.6
image: linode/linode-blockstorage-csi-driver:v0.2.0
args :
- "--endpoint=$(CSI_ENDPOINT)"
- "--token=$(LINODE_TOKEN)"

View file

@ -16,4 +16,4 @@ rules:
verbs: ["get", "list", "watch"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["get", "list", "watch", "update"]
verbs: ["create", "get", "list", "watch", "update"]

View file

@ -10,10 +10,10 @@ rules:
verbs: ["get", "list"]
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete"]
verbs: ["get", "list", "watch", "create", "delete", "patch"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update"]
resources: ["persistentvolumeclaims", "persistentvolumeclaims/status"]
verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["get", "list", "watch"]

View file

@ -5,3 +5,4 @@ metadata:
name: linode-block-storage
namespace: kube-system
provisioner: linodebs.csi.linode.com
allowVolumeExpansion: true

View file

@ -5,3 +5,4 @@ metadata:
namespace: kube-system
provisioner: linodebs.csi.linode.com
reclaimPolicy: Retain
allowVolumeExpansion: true