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.4.2-beta.1
Published
Oct 13, 2016
Platform
js/wasm
Imports
11 packages
Last checked
51 minutes ago

Tools for package owners.