Skip to content

Commit bb6a096

Browse files
committed
Fixed gofmt
1 parent d7c9e07 commit bb6a096

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

main.go

+17-17
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,23 @@ import (
5353
)
5454

5555
var (
56-
master = flag.String("master", "", "The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster.")
57-
kubeConfig = flag.String("kubeConfig", "", "Path to a kube config. Only required if out-of-cluster.")
58-
installCRDs = flag.Bool("install-crds", true, "Whether to install CRDs")
59-
controllerThreads = flag.Int("controller-threads", 10, "Number of worker threads used by the SparkApplication controller.")
60-
resyncInterval = flag.Int("resync-interval", 30, "Informer resync interval in seconds.")
61-
namespace = flag.String("namespace", apiv1.NamespaceAll, "The Kubernetes namespace to manage. Will manage custom resource objects of the managed CRD types for the whole cluster if unset.")
62-
enableWebhook = flag.Bool("enable-webhook", false, "Whether to enable the mutating admission webhook for admitting and patching Spark pods.")
63-
webhookConfigName = flag.String("webhook-config-name", "spark-webhook-config", "The name of the MutatingWebhookConfiguration object to create.")
64-
webhookCertDir = flag.String("webhook-cert-dir", "/etc/webhook-certs", "The directory where x509 certificate and key files are stored.")
65-
webhookSvcNamespace = flag.String("webhook-svc-namespace", "spark-operator", "The namespace of the Service for the webhook server.")
66-
webhookSvcName = flag.String("webhook-svc-name", "spark-webhook", "The name of the Service for the webhook server.")
67-
webhookPort = flag.Int("webhook-port", 8080, "Service port of the webhook server.")
68-
enableMetrics = flag.Bool("enable-metrics", false, "Whether to enable the metrics endpoint.")
69-
metricsPort = flag.String("metrics-port", "10254", "Port for the metrics endpoint.")
70-
metricsEndpoint = flag.String("metrics-endpoint", "/metrics", "Metrics endpoint.")
71-
metricsPrefix = flag.String("metrics-prefix", "", "Prefix for the metrics.")
72-
ingressUrlFormat = flag.String("ingress-url-format", "", "Ingress URL format.")
56+
master = flag.String("master", "", "The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster.")
57+
kubeConfig = flag.String("kubeConfig", "", "Path to a kube config. Only required if out-of-cluster.")
58+
installCRDs = flag.Bool("install-crds", true, "Whether to install CRDs")
59+
controllerThreads = flag.Int("controller-threads", 10, "Number of worker threads used by the SparkApplication controller.")
60+
resyncInterval = flag.Int("resync-interval", 30, "Informer resync interval in seconds.")
61+
namespace = flag.String("namespace", apiv1.NamespaceAll, "The Kubernetes namespace to manage. Will manage custom resource objects of the managed CRD types for the whole cluster if unset.")
62+
enableWebhook = flag.Bool("enable-webhook", false, "Whether to enable the mutating admission webhook for admitting and patching Spark pods.")
63+
webhookConfigName = flag.String("webhook-config-name", "spark-webhook-config", "The name of the MutatingWebhookConfiguration object to create.")
64+
webhookCertDir = flag.String("webhook-cert-dir", "/etc/webhook-certs", "The directory where x509 certificate and key files are stored.")
65+
webhookSvcNamespace = flag.String("webhook-svc-namespace", "spark-operator", "The namespace of the Service for the webhook server.")
66+
webhookSvcName = flag.String("webhook-svc-name", "spark-webhook", "The name of the Service for the webhook server.")
67+
webhookPort = flag.Int("webhook-port", 8080, "Service port of the webhook server.")
68+
enableMetrics = flag.Bool("enable-metrics", false, "Whether to enable the metrics endpoint.")
69+
metricsPort = flag.String("metrics-port", "10254", "Port for the metrics endpoint.")
70+
metricsEndpoint = flag.String("metrics-endpoint", "/metrics", "Metrics endpoint.")
71+
metricsPrefix = flag.String("metrics-prefix", "", "Prefix for the metrics.")
72+
ingressUrlFormat = flag.String("ingress-url-format", "", "Ingress URL format.")
7373
)
7474

7575
func main() {

0 commit comments

Comments
 (0)