mark persistentvolume's claimRef as granular

This commit is contained in:
Alexander Zielenski
2022-08-03 09:48:30 -07:00
parent 133c265530
commit 84f795d04a
7 changed files with 14 additions and 3 deletions

View File

@@ -20823,6 +20823,11 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback)
},
},
"claimRef": {
VendorExtensible: spec.VendorExtensible{
Extensions: spec.Extensions{
"x-kubernetes-map-type": "granular",
},
},
SchemaProps: spec.SchemaProps{
Description: "claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding",
Ref: ref("k8s.io/api/core/v1.ObjectReference"),