use my own image

This commit is contained in:
CALIN Cristian Andrei
2021-09-13 12:10:21 +03:00
parent edbb640d7b
commit 47fd234ef4
4 changed files with 7 additions and 5 deletions

View File

@@ -140,7 +140,7 @@ spec:
capabilities: capabilities:
add: ["SYS_ADMIN"] add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true allowPrivilegeEscalation: true
image: synology/synology-csi:v1.0.0 image: cristicalin/synology-csi:v1.0.0
args: args:
- --nodeid=NotUsed - --nodeid=NotUsed
- --endpoint=$(CSI_ENDPOINT) - --endpoint=$(CSI_ENDPOINT)

View File

@@ -86,7 +86,7 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
image: synology/synology-csi:v1.0.0 image: cristicalin/synology-csi:v1.0.0
args: args:
- --nodeid=$(KUBE_NODE_NAME) - --nodeid=$(KUBE_NODE_NAME)
- --endpoint=$(CSI_ENDPOINT) - --endpoint=$(CSI_ENDPOINT)

View File

@@ -81,7 +81,7 @@ spec:
capabilities: capabilities:
add: ["SYS_ADMIN"] add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true allowPrivilegeEscalation: true
image: synology/synology-csi:v1.0.0 image: cristicalin/synology-csi:v1.0.0
args: args:
- --nodeid=NotUsed - --nodeid=NotUsed
- --endpoint=$(CSI_ENDPOINT) - --endpoint=$(CSI_ENDPOINT)
@@ -103,4 +103,4 @@ spec:
emptyDir: {} emptyDir: {}
- name: client-info - name: client-info
secret: secret:
secretName: client-info-secret secretName: client-info-secret

View File

@@ -4,8 +4,10 @@ metadata:
name: synology-snapshotclass name: synology-snapshotclass
annotations: annotations:
storageclass.kubernetes.io/is-default-class: "false" storageclass.kubernetes.io/is-default-class: "false"
labels:
velero.io/csi-volumesnapshot-class: "true"
driver: csi.san.synology.com driver: csi.san.synology.com
deletionPolicy: Delete deletionPolicy: Delete
# parameters: # parameters:
# description: 'Kubernetes CSI' # description: 'Kubernetes CSI'
# is_locked: 'false' # is_locked: 'false'