Check Certificate expire date
Check Certificate expire date
hyperalert check_cert [flags]
-c, --critical duration Remaining duration for Critical state. [Default: 120h] (default 120h0m0s)
-h, --help help for check_cert
-H, --host string Icinga host name
-k, --secretKey strings Name of secret key where certificates are kept
-s, --secretName string Name of secret from where certificates are checked
-l, --selector string Selector (label query) to filter on, supports '=', '==', and '!='
-w, --warning duration Remaining duration for Warning state. [Default: 360h] (default 360h0m0s)
--alsologtostderr log to standard error as well as files
--bypass-validating-webhook-xray if true, bypasses validating webhook xray checks
--context string Use the context in kubeconfig
--icinga.checkInterval int Icinga check_interval in second. [Format: 30, 300] (default 30)
--kubeconfig string Path to kubeconfig file with authorization information (the master location is set by the master flag).
--log-flush-frequency duration Maximum number of seconds between log flushes (default 5s)
--log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
--log_dir string If non-empty, write log files in this directory
--logtostderr log to standard error instead of files
--stderrthreshold severity logs at or above this threshold go to stderr
--use-kubeapiserver-fqdn-for-aks if true, uses kube-apiserver FQDN for AKS cluster to workaround https://github.com/Azure/AKS/issues/522 (default true)
-v, --v Level log level for V logs
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging