Merge pull request #134339 from huww98/mutable-pv-affinity

KEP-5381: mutable pv nodeAffinity
This commit is contained in:
Kubernetes Prow Robot
2025-11-06 01:33:11 -08:00
committed by GitHub
13 changed files with 41 additions and 9 deletions

View File

@@ -28414,7 +28414,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback)
},
"nodeAffinity": {
SchemaProps: spec.SchemaProps{
Description: "nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.",
Description: "nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. This field is mutable if MutablePVNodeAffinity feature gate is enabled.",
Ref: ref(corev1.VolumeNodeAffinity{}.OpenAPIModelName()),
},
},