package label
import "k8s.io/kubernetes/plugin/pkg/admission/persistentvolume/label"
labels created persistent volumes with zone information as provided by the cloud provider
Index ¶
- Constants
- func NewPersistentVolumeLabel() *persistentVolumeLabel
- func Register(plugins *admission.Plugins)
Constants ¶
const PluginName = "PersistentVolumeLabel"
Functions ¶
func NewPersistentVolumeLabel ¶
func NewPersistentVolumeLabel() *persistentVolumeLabel
NewPersistentVolumeLabel returns an admission.Interface implementation which adds labels to PersistentVolume CREATE requests, based on the labels provided by the underlying cloud provider.
As a side effect, the cloud provider may block invalid or non-existent volumes.
func Register ¶
Register registers a plugin
Source Files ¶
admission.go doc.go
- Version
- v1.10.13-beta.0
- Published
- Dec 19, 2018
- Platform
- js/wasm
- Imports
- 13 packages
- Last checked
- 32 minutes ago –
Tools for package owners.