Documentation ¶
Index ¶
Constants ¶
View Source
const ( WebhookAPIVersion = "/webhook/v1" UpgradeServerPort = "4221" WebhookDefaultPort = "4222" WebhookAPIBucketService = WebhookAPIVersion + "/bucketsrv" WebhookAPIUpdate = WebhookAPIVersion + "/update" )
Constants for the webhook endpoints
View Source
const ( // OperatorRuntimeEnv tells us which runtime we have. (EKS, Rancher, OpenShift, etc...) OperatorRuntimeEnv = "MINIO_OPERATOR_RUNTIME" // OperatorRuntimeK8s is the default runtime when no specific runtime is set OperatorRuntimeK8s Runtime = "K8S" // OperatorRuntimeEKS is the EKS runtime flag OperatorRuntimeEKS Runtime = "EKS" // OperatorRuntimeOpenshift is the Openshift runtime flag OperatorRuntimeOpenshift Runtime = "OPENSHIFT" // OperatorRuntimeRancher is the Rancher runtime flag OperatorRuntimeRancher Runtime = "RANCHER" // TLSCRT is name of the field containing tls certificate in secret TLSCRT = "tls.crt" // CACRT name of the field containing ca certificate in secret CACRT = "ca.crt" // PublicCRT name of the field containing public certificate in secret PublicCRT = "public.crt" )
Variables ¶
View Source
var Runtimes = map[string]Runtime{ "K8S": OperatorRuntimeK8s, "EKS": OperatorRuntimeEKS, "OPENSHIFT": OperatorRuntimeOpenshift, "RANCHER": OperatorRuntimeRancher, }
Runtimes is a map of the supported Kubernetes runtimes
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.