You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # This YAML file contains attacher & csi driver API objects that are necessary
- # to run external CSI attacher for rclone
-
- kind: StatefulSet
- apiVersion: apps/v1
- metadata:
- name: csi-controller-rclone
- namespace: kube-system
- spec:
- serviceName: "csi-controller-rclone"
- replicas: 1
- selector:
- matchLabels:
- app: csi-controller-rclone
- template:
- metadata:
- labels:
- app: csi-controller-rclone
- spec:
- serviceAccountName: csi-controller-rclone
- containers:
- - name: csi-attacher
- image: quay.io/k8scsi/csi-attacher:v1.1.1
- args:
- - "--v=5"
- - "--csi-address=$(ADDRESS)"
- env:
- - name: ADDRESS
- value: /csi/csi.sock
- imagePullPolicy: "Always"
- volumeMounts:
- - name: socket-dir
- mountPath: /csi
- - name: csi-cluster-driver-registrar
- image: quay.io/k8scsi/csi-cluster-driver-registrar:v1.0.1
- args:
- - "--v=5"
- - '--pod-info-mount-version="v1"'
- - "--csi-address=$(ADDRESS)"
- env:
- - name: ADDRESS
- value: /csi/csi.sock
- volumeMounts:
- - name: socket-dir
- mountPath: /csi
- - name: rclone
- image: dvcrn/csi-rclone-reloaded:v1.4.0
- args:
- - "/bin/csi-rclone-plugin"
- - "--nodeid=$(NODE_ID)"
- - "--endpoint=$(CSI_ENDPOINT)"
- env:
- - name: NODE_ID
- valueFrom:
- fieldRef:
- fieldPath: spec.nodeName
- - name: CSI_ENDPOINT
- value: unix://plugin/csi.sock
- imagePullPolicy: "Always"
- volumeMounts:
- - name: socket-dir
- mountPath: /plugin
- volumes:
- - name: socket-dir
- emptyDir: {}
|