WithVolumeAnnotation
Method
func (KubernetesPersistentVolumeResource) WithVolumeAnnotation( key string, value string,) KubernetesPersistentVolumeResourceSignature
method
WithVolumeAnnotation builderAdds a Kubernetes metadata annotation to a persistent volume
WithVolumeAnnotation( key string, value string,) KubernetesPersistentVolumeResourceParameters
keystringThe annotation key (e.g. "volume.beta.kubernetes.io/storage-provisioner" ).valuestringThe annotation value.Returns
KubernetesPersistentVolumeResource The same builder for chaining.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: