package persistentvolume
import "k8s.io/kubernetes/pkg/api/persistentvolume"
Index ¶
Functions ¶
func DropDisabledFields ¶
func DropDisabledFields(pvSpec *api.PersistentVolumeSpec, oldPVSpec *api.PersistentVolumeSpec)
DropDisabledFields removes disabled fields from the pv spec. This should be called from PrepareForCreate/PrepareForUpdate for all resources containing a pv spec.
Source Files ¶
util.go
- Version
- v1.23.9-rc.0
- Published
- Jun 16, 2022
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 7 minutes ago –
Tools for package owners.