github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/manifests/prometheus-operator/fluentbit_monitor.yaml (about) 1 # Copyright (c) 2023, Oracle and/or its affiliates. 2 # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 4 apiVersion: monitoring.coreos.com/v1 5 kind: ServiceMonitor 6 metadata: 7 name: fluentbit 8 namespace: {{ .monitoringNamespace }} 9 labels: 10 release: prometheus-operator 11 spec: 12 namespaceSelector: 13 matchNames: 14 - {{ .systemNamespace }} 15 selector: 16 matchLabels: 17 app.kubernetes.io/name: "fluent-bit" 18 endpoints: 19 - path: /metrics 20 targetPort: metrics 21 enableHttp2: false 22 {{ if .isIstioEnabled }} 23 scheme: https 24 tlsConfig: 25 caFile: /etc/istio-certs/root-cert.pem 26 certFile: /etc/istio-certs/cert-chain.pem 27 keyFile: /etc/istio-certs/key.pem 28 insecureSkipVerify: true 29 {{ else }} 30 scheme: http 31 {{ end }}