---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  creationTimestamp: "2022-03-08T10:48:07Z"
  generation: 1
  labels:
    k8s-app: etcd
  managedFields:
  - apiVersion: monitoring.coreos.com/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          .: {}
          f:k8s-app: {}
      f:spec:
        .: {}
        f:endpoints: {}
        f:jobLabel: {}
        f:namespaceSelector:
          .: {}
          f:matchNames: {}
        f:selector:
          .: {}
          f:matchLabels:
            .: {}
            f:k8s-app: {}
    manager: operator
    operation: Update
    time: "2022-03-08T10:48:07Z"
  name: etcd
  namespace: openshift-monitoring
  resourceVersion: "21431"
  selfLink: /apis/monitoring.coreos.com/v1/namespaces/openshift-monitoring/servicemonitors/etcd
  uid: d933ed1d-f87d-4e2d-b49a-b3ed8997ebd0
spec:
  endpoints:
  - bearerTokenSecret:
      key: ""
    interval: 30s
    port: etcd-metrics
    scheme: https
    tlsConfig:
      ca: {}
      caFile: /etc/prometheus/secrets/kube-etcd-client-certs/etcd-client-ca.crt
      cert: {}
      certFile: /etc/prometheus/secrets/kube-etcd-client-certs/etcd-client.crt
      keyFile: /etc/prometheus/secrets/kube-etcd-client-certs/etcd-client.key
  jobLabel: k8s-app
  namespaceSelector:
    matchNames:
    - openshift-etcd
  selector:
    matchLabels:
      k8s-app: etcd
