Skip to content

Commit

Permalink
Merge pull request #2394 from andyzhangx/reservedDataDiskSlotNum-char…
Browse files Browse the repository at this point in the history
…ts-1.30

[release-1.30] feat: add ReservedDataDiskSlotNum to helm-chart
  • Loading branch information
andyzhangx committed Jul 8, 2024
2 parents bb5bae0 + 15dc464 commit f1f1460
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ The following table lists the configurable parameters of the latest Azure Disk C
| `controller.resources.azuredisk.requests.memory` | azuredisk memory requests | 20Mi |
| `node.cloudConfigSecretName` | cloud config secret name of node driver | `azure-cloud-provider`
| `node.cloudConfigSecretNamespace` | cloud config secret namespace of node driver | `kube-system`
| `node.reservedDataDiskSlotNum` | reserved data disk slot number per node by default(`0`) | `0` |
| `node.supportZone` | Whether getting zone info in NodeGetInfo on the node (requires instance metadata support) | `true`
| `node.getNodeIDFromIMDS` | Whether getting NodeID from IMDS on the node (requires instance metadata support) | `false`
| `node.allowEmptyCloudConfig` | Whether allow running node driver without cloud config | `true`
Expand Down
Binary file modified charts/latest/azuredisk-csi-driver-v1.30.1.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ spec:
- "--nodeid=$(KUBE_NODE_NAME)"
- "--drivername={{ .Values.driver.name }}"
- "--volume-attach-limit={{ .Values.driver.volumeAttachLimit }}"
- "--reserved-data-disk-slot-num={{ .Values.node.reservedDataDiskSlotNum }}"
- "--cloud-config-secret-name={{ .Values.node.cloudConfigSecretName }}"
- "--cloud-config-secret-namespace={{ .Values.node.cloudConfigSecretNamespace }}"
- "--custom-user-agent={{ .Values.driver.customUserAgent }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ spec:
- "--nodeid=$(KUBE_NODE_NAME)"
- "--drivername={{ .Values.driver.name }}"
- "--volume-attach-limit={{ .Values.driver.volumeAttachLimit }}"
- "--reserved-data-disk-slot-num={{ .Values.node.reservedDataDiskSlotNum }}"
- "--cloud-config-secret-name={{ .Values.node.cloudConfigSecretName }}"
- "--cloud-config-secret-namespace={{ .Values.node.cloudConfigSecretNamespace }}"
- "--custom-user-agent={{ .Values.driver.customUserAgent }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ spec:
- "--enable-perf-optimization={{ .Values.linux.enablePerfOptimization }}"
- "--drivername={{ .Values.driver.name }}"
- "--volume-attach-limit={{ .Values.driver.volumeAttachLimit }}"
- "--reserved-data-disk-slot-num={{ .Values.node.reservedDataDiskSlotNum }}"
- "--cloud-config-secret-name={{ .Values.node.cloudConfigSecretName }}"
- "--cloud-config-secret-namespace={{ .Values.node.cloudConfigSecretNamespace }}"
- "--custom-user-agent={{ .Values.driver.customUserAgent }}"
Expand Down
2 changes: 2 additions & 0 deletions charts/latest/azuredisk-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ controller:
node:
cloudConfigSecretName: azure-cloud-provider
cloudConfigSecretNamespace: kube-system
# reserved data disk slot number per node, driver.volumeAttachLimit must be < 0
reservedDataDiskSlotNum: 0
supportZone: true
allowEmptyCloudConfig: true
getNodeIDFromIMDS: false
Expand Down

0 comments on commit f1f1460

Please sign in to comment.