Documentation ¶
Index ¶
Constants ¶
View Source
const ( ValidationWebhookPath = "/validate" DefaultWebhookPort = 9883 DefaultWebhookMetricsBindAddress = "0" WebhookTlsMinVersion = "1.2" )
View Source
const ( ExpandVolumeWithSnapshotErrorMessage = "Expanding volume with snapshots is not allowed" DeleteVolumeWithSnapshotErrorMessage = "Deleting volume with snapshots is not allowed" )
View Source
const ( CreatePVCWithInvalidAnnotation = "Create PVC with invalid annotation " + common.AnnGuestClusterRequestedTopology AddPVCAnnotation = "Add a new PVC Annotation" UpdatePVCAnnotation = "Update the PVC Annotation" RemovePVCAnnotation = "Remove the PVC Annotation" )
View Source
const ( NonUpdatablePVCAnnotation = "PVC Annotation %s is not mutable by user %s" NonCreatablePVCAnnotation = "PVC Annotation %s cannot be created by user %s" CSIServiceAccountPrefix = "system:serviceaccount:vmware-system-csi" )
Variables ¶
View Source
var ( // COInitParams stores the input params required for initiating the // CO agnostic orchestrator in the admission handler package. COInitParams *interface{} )
Functions ¶
func StartWebhookServer ¶
StartWebhookServer starts the webhook server.
Types ¶
Click to show internal directories.
Click to hide internal directories.