Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TigeraKibanaCertSecret is the TLS key pair that is mounted by the Kibana pods. TigeraKibanaCertSecret = "tigera-secure-kibana-cert" CRName = "tigera-secure" ObjectName = "tigera-kibana" Namespace = ObjectName BasePath = ObjectName ServiceName = "tigera-secure-kb-http" DefaultRoute = "/app/kibana#/dashboards?%s&title=%s" PolicyName = networkpolicy.TigeraComponentPolicyPrefix + "kibana-access" Port = 5601 TLSAnnotationHash = "hash.operator.tigera.io/kb-secrets" TimeFilter = "_g=(time:(from:now-24h,to:now))" FlowsDashboardName = "Calico Flow Logs" )
Variables ¶
View Source
var (
EntityRule = networkpolicy.CreateEntityRule(Namespace, CRName, Port)
)
Functions ¶
func Kibana ¶
func Kibana(cfg *Configuration) render.Component
Kibana renders the components necessary for kibana and elasticsearch
Types ¶
type Configuration ¶
type Configuration struct { LogStorage *operatorv1.LogStorage Installation *operatorv1.InstallationSpec Kibana *kbv1.Kibana KibanaKeyPair certificatemanagement.KeyPairInterface PullSecrets []*corev1.Secret Provider operatorv1.Provider KbService *corev1.Service ClusterDomain string BaseURL string // BaseUrl is where the manager is reachable, for setting Kibana publicBaseUrl TrustedBundle certificatemanagement.TrustedBundleRO UnusedTLSSecret *corev1.Secret Enabled bool }
Configuration contains all the config information needed to render the component.
Click to show internal directories.
Click to hide internal directories.