Skip to content

Commit a604d62

Browse files
committed
csi: add nodeExpandSecret KEP details
Ref# KEP: kubernetes/enhancements#3173 Implementation: kubernetes/kubernetes#105963 Blog: kubernetes#33979 Signed-off-by: Humble Chirammal <[email protected]>
1 parent b61dfcd commit a604d62

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

content/en/docs/concepts/storage/volumes.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,6 +1228,18 @@ persistent volume:
12281228
`NodePublishVolume` call. This field is optional, and may be empty if no
12291229
secret is required. If the secret object contains more than one secret, all
12301230
secrets are passed.
1231+
`nodeExpandSecretRef`: A reference to the secret containing sensitive
1232+
information to pass to the CSI driver to complete the CSI
1233+
`NodeExpandVolume` call. This field is optional, and may be empty if no
1234+
secret is required. If the object contains more than one secret, all
1235+
secrets are passed. When you have configured secret data for node-initiated
1236+
volume expansion, the kubelet passes that data via the `NodeExpandVolume()`
1237+
call to the CSI driver. In order to use the `nodeExpandSecretRef` field, your
1238+
cluster should be running Kubernetes version 1.25 or later and you must enable
1239+
the [feature gate](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/)
1240+
named `CSINodeExpandSecret` for each kube-apiserver and for the kubelet on every
1241+
node. You must also be using a CSI driver that supports or requires secret data during
1242+
node-initiated storage resize operations.
12311243

12321244
#### CSI raw block volume support
12331245

content/en/docs/reference/command-line-tools-reference/feature-gates.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ different Kubernetes components.
8686
| `CSIMigrationvSphere` | `false` | Beta | 1.19 | |
8787
| `CSIMigrationPortworx` | `false` | Alpha | 1.23 | |
8888
| `csiMigrationRBD` | `false` | Alpha | 1.23 | |
89+
| `CSINodeExpandSecret` | `false` | Alpha | 1.25 | |
8990
| `CSIVolumeHealth` | `false` | Alpha | 1.21 | |
9091
| `ContextualLogging` | `false` | Alpha | 1.24 | |
9192
| `CustomCPUCFSQuotaPeriod` | `false` | Alpha | 1.12 | |

0 commit comments

Comments
 (0)