---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: ssl-exporter
  labels:
    app.kubernetes.io/name: ssl-exporter
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: ssl-exporter
rules:
- apiGroups:
  - ""
  resources:
  - secrets
  verbs:
  - list
  - get
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: ssl-exporter
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: ssl-exporter
subjects:
- kind: ServiceAccount
  name: ssl-exporter
