webhook

package
v1.3.5-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// StorageClassV1GVR is GroupVersionResource for v1 StorageClass
	StorageClassV1GVR         = metav1.GroupVersionResource{Group: "storage.k8s.io", Version: "v1", Resource: "storageclasses"}
	FilestoreCSIDriver        = "filestore.csi.storage.gke.io"
	TierEnterprise            = "enterprise"
	InstanceStorageClassLabel = "instance-storageclass-label"
	Multishare                = "multishare"
)
View Source
var CmdWebhook = &cobra.Command{
	Use:   "validation-webhook",
	Short: "Starts a HTTP server, uses MutatingAdmissionWebhook and ValidatingAdmissionWebhook on StorageClass",
	Long:  `Starts a HTTP server, uses MutatingAdmissionWebhook and ValidatingAdmissionWebhook on StorageClass. After deploying it to Kubernetes cluster, the Administrator needs to create a MutatingAdmissionWebhook and ValidatingWebhookConfiguration in the Kubernetes cluster to register remote webhook admission controllers.`,
	Args:  cobra.MaximumNArgs(0),
	Run:   main,
}

CmdWebhook is used by Cobra.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL