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

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.

Source Files

admission.go doc.go

Version
v1.6.0-beta.1
Published
Mar 2, 2017
Platform
js/wasm
Imports
10 packages
Last checked
1 hour ago

Tools for package owners.