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" )
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.
Click to show internal directories.
Click to hide internal directories.