This commit is contained in:
parent
8cc1e01af4
commit
9b63f4c26a
6 changed files with 25 additions and 8 deletions
|
|
@ -4,6 +4,8 @@ apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: csi-linode-controller
|
name: csi-linode-controller
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
|
labels:
|
||||||
|
app: csi-linode-controller
|
||||||
spec:
|
spec:
|
||||||
serviceName: "csi-linode"
|
serviceName: "csi-linode"
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
@ -34,7 +36,7 @@ spec:
|
||||||
mountPath: /scripts
|
mountPath: /scripts
|
||||||
containers:
|
containers:
|
||||||
- name: csi-provisioner
|
- name: csi-provisioner
|
||||||
image: quay.io/k8scsi/csi-provisioner:v1.0.0
|
image: quay.io/k8scsi/csi-provisioner:v1.1.0
|
||||||
args:
|
args:
|
||||||
- "--volume-name-prefix=pvc"
|
- "--volume-name-prefix=pvc"
|
||||||
- "--volume-name-uuid-length=16"
|
- "--volume-name-uuid-length=16"
|
||||||
|
|
@ -48,7 +50,7 @@ spec:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /var/lib/csi/sockets/pluginproxy/
|
mountPath: /var/lib/csi/sockets/pluginproxy/
|
||||||
- name: csi-attacher
|
- name: csi-attacher
|
||||||
image: quay.io/k8scsi/csi-attacher:v1.0.0
|
image: quay.io/k8scsi/csi-attacher:v1.1.0
|
||||||
args:
|
args:
|
||||||
- "--v=2"
|
- "--v=2"
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
|
|
@ -59,8 +61,19 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /var/lib/csi/sockets/pluginproxy/
|
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
|
- name: linode-csi-plugin
|
||||||
image: linode/linode-blockstorage-csi-driver:v0.1.6
|
image: linode/linode-blockstorage-csi-driver:v0.2.0
|
||||||
args :
|
args :
|
||||||
- "--endpoint=$(CSI_ENDPOINT)"
|
- "--endpoint=$(CSI_ENDPOINT)"
|
||||||
- "--token=$(LINODE_TOKEN)"
|
- "--token=$(LINODE_TOKEN)"
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@ apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: csi-linode-node
|
name: csi-linode-node
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
|
labels:
|
||||||
|
app: csi-linode-node
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|
@ -56,7 +58,7 @@ spec:
|
||||||
- name: registration-dir
|
- name: registration-dir
|
||||||
mountPath: /registration/
|
mountPath: /registration/
|
||||||
- name: csi-linode-plugin
|
- name: csi-linode-plugin
|
||||||
image: linode/linode-blockstorage-csi-driver:v0.1.6
|
image: linode/linode-blockstorage-csi-driver:v0.2.0
|
||||||
args :
|
args :
|
||||||
- "--endpoint=$(CSI_ENDPOINT)"
|
- "--endpoint=$(CSI_ENDPOINT)"
|
||||||
- "--token=$(LINODE_TOKEN)"
|
- "--token=$(LINODE_TOKEN)"
|
||||||
|
|
|
||||||
|
|
@ -16,4 +16,4 @@ rules:
|
||||||
verbs: ["get", "list", "watch"]
|
verbs: ["get", "list", "watch"]
|
||||||
- apiGroups: ["storage.k8s.io"]
|
- apiGroups: ["storage.k8s.io"]
|
||||||
resources: ["volumeattachments"]
|
resources: ["volumeattachments"]
|
||||||
verbs: ["get", "list", "watch", "update"]
|
verbs: ["create", "get", "list", "watch", "update"]
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,10 @@ rules:
|
||||||
verbs: ["get", "list"]
|
verbs: ["get", "list"]
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["persistentvolumes"]
|
resources: ["persistentvolumes"]
|
||||||
verbs: ["get", "list", "watch", "create", "delete"]
|
verbs: ["get", "list", "watch", "create", "delete", "patch"]
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["persistentvolumeclaims"]
|
resources: ["persistentvolumeclaims", "persistentvolumeclaims/status"]
|
||||||
verbs: ["get", "list", "watch", "update"]
|
verbs: ["get", "list", "watch", "update", "patch"]
|
||||||
- apiGroups: ["storage.k8s.io"]
|
- apiGroups: ["storage.k8s.io"]
|
||||||
resources: ["storageclasses"]
|
resources: ["storageclasses"]
|
||||||
verbs: ["get", "list", "watch"]
|
verbs: ["get", "list", "watch"]
|
||||||
|
|
|
||||||
|
|
@ -5,3 +5,4 @@ metadata:
|
||||||
name: linode-block-storage
|
name: linode-block-storage
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
provisioner: linodebs.csi.linode.com
|
provisioner: linodebs.csi.linode.com
|
||||||
|
allowVolumeExpansion: true
|
||||||
|
|
|
||||||
|
|
@ -5,3 +5,4 @@ metadata:
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
provisioner: linodebs.csi.linode.com
|
provisioner: linodebs.csi.linode.com
|
||||||
reclaimPolicy: Retain
|
reclaimPolicy: Retain
|
||||||
|
allowVolumeExpansion: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue