You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flag.StringVar(&host, "host", "localhost:9093", "The host of the Alertmanager")
21
26
27
+
flag.BoolVar(&useTLS, "tls", false, "Use TLS when connecting to Alertmanager")
28
+
flag.StringVar(&tlsCert, "tls-cert", "", "Path to client certificate for TLS authentication")
29
+
flag.StringVar(&tlsCertKey, "tls-cert-key", "", "Path to client certificate key for TLS authentication")
30
+
flag.StringVar(&tlsCaCert, "tls-ca-cert", "", "Path to CA certificate. System certificates are used if not provided.")
31
+
flag.StringVar(&tlsServerName, "tls-server-name", "", "Server name to verify the hostname on the returned certificates. It must be a substring of either the Common Name or a Subject Alternative Name in the certificate. If empty, the hostname given in the address parameter is used.")
0 commit comments