diff --git a/Deploy/Trident/bundle.yaml b/Deploy/Trident/bundle.yaml index 33624ae..f4c68b3 100644 --- a/Deploy/Trident/bundle.yaml +++ b/Deploy/Trident/bundle.yaml @@ -533,7 +533,7 @@ spec: - command: - /trident-operator - --log-level=debug - - --qts-cgi-image=qnapsystem/qnap-csi-backend-qts-sidecar:v1.1.0 + - --qts-cgi-image=qnapsystem/qnap-csi-backend-qts-sidecar:v1.2.0 env: - name: POD_NAME valueFrom: @@ -541,7 +541,7 @@ spec: fieldPath: metadata.name - name: OPERATOR_NAME value: trident-operator - image: qnapsystem/qnap-csi-operator:v1.1.0 + image: qnapsystem/qnap-csi-operator:v1.2.0 imagePullPolicy: IfNotPresent name: trident-operator affinity: diff --git a/Deploy/Trident/tridentorchestrator.yaml b/Deploy/Trident/tridentorchestrator.yaml index 7763864..a17b3a5 100644 --- a/Deploy/Trident/tridentorchestrator.yaml +++ b/Deploy/Trident/tridentorchestrator.yaml @@ -5,4 +5,4 @@ metadata: spec: debug: true namespace: trident - tridentImage: qnapsystem/qnap-csi:v1.1.0 + tridentImage: qnapsystem/qnap-csi:v1.2.0 diff --git a/Helm/trident/values.yaml b/Helm/trident/values.yaml index 0cc68a9..9c2e165 100644 --- a/Helm/trident/values.yaml +++ b/Helm/trident/values.yaml @@ -5,11 +5,11 @@ replicaCount: 1 tridentOperator: - image: qnapsystem/qnap-csi-operator:v1.1.0 - cgiServerImage : qnapsystem/qnap-csi-backend-qts-sidecar:v1.1.0 + image: qnapsystem/qnap-csi-operator:v1.2.0 + cgiServerImage : qnapsystem/qnap-csi-backend-qts-sidecar:v1.2.0 imagePullPolicy: IfNotPresent logLevel: debug tridentOrchestrator: - image: qnapsystem/qnap-csi:v1.1.0 + image: qnapsystem/qnap-csi:v1.2.0 debug: true \ No newline at end of file diff --git a/Samples/backend-config-sample.yaml b/Samples/backend-config-sample.yaml new file mode 100644 index 0000000..1e8f068 --- /dev/null +++ b/Samples/backend-config-sample.yaml @@ -0,0 +1,46 @@ +apiVersion: v1 +kind: Secret +metadata: + name: backend-qts-sample-secret + namespace: trident +type: Opaque +stringData: + username: david + password: abcd1234 + storageAddress: 10.20.91.69 +--- +apiVersion: trident.qnap.io/v1 +kind: TridentBackendConfig +metadata: + name: backend-qts-sample-config + namespace: trident +spec: + version: 1 + storageDriverName: qnap-iscsi + backendName: qts-david + networkInterfaces: ["K8s-ISCSI"] #optional + credentials: + name: backend-qts-sample-secret + debugTraceFlags: + method: false + storage: + - labels: + storage: qts-david + serviceLevel: Any + - labels: + performance: premium + features: + tiering: Enable + tierType: SSD + ssdCache: "true" + serviceLevel: SSD-Cache + - labels: + performance: standard + features: + tiering: Enable + serviceLevel: Tiering + - labels: + performance: basic + features: + tiering: Disable + serviceLevel: Non-Tiering \ No newline at end of file diff --git a/Samples/backend-sample.json b/Samples/backend-sample.json index 2635198..a1db9fc 100644 --- a/Samples/backend-sample.json +++ b/Samples/backend-sample.json @@ -3,8 +3,9 @@ "storageDriverName": "qnap-iscsi", "backendName": "qts-david", "storageAddress": "10.20.91.69", - "username": "admin", + "username": "david", "password": "abcd1234", + "networkInterfaces": ["K8s-ISCSI"], "debugTraceFlags": {"method":true}, "storage": [ { @@ -15,7 +16,6 @@ "labels": {"performance": "premium"}, "features":{ "tiering": "Enable", - "tierType": "SSD", "ssdCache": "true" }, "serviceLevel": "SSD-Cache" @@ -23,16 +23,14 @@ { "labels": {"performance": "standard"}, "features":{ - "tiering": "Enable", - "tierType": "SSD" + "tiering": "Enable" }, "serviceLevel": "Tiering" }, { "labels": {"performance": "basic"}, "features":{ - "tiering": "Disable", - "tierType": "SATA" + "tiering": "Disable" }, "serviceLevel": "Non-Tiering" } diff --git a/bin/tridentctl b/bin/linux-amd64/tridentctl similarity index 86% rename from bin/tridentctl rename to bin/linux-amd64/tridentctl index 40c1a72..f6dc3f1 100755 Binary files a/bin/tridentctl and b/bin/linux-amd64/tridentctl differ diff --git a/bin/linux-arm64/tridentctl b/bin/linux-arm64/tridentctl new file mode 100755 index 0000000..8cdb01f Binary files /dev/null and b/bin/linux-arm64/tridentctl differ