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.

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin

Source Files

admission.go doc.go

Version
v1.9.9
Published
Jun 27, 2018
Platform
js/wasm
Imports
13 packages
Last checked
17 seconds ago

Tools for package owners.