Open sagarmujumale opened 4 months ago
its not generating cert_exporter_cert_expires_in_seconds and cert_exporter_kubeconfig_expires_in_seconds metrics.
- --secrets-annotation-selector=cert-manager.io/certificate-name
- --secrets-include-glob=*.crt
- --secrets-include-glob=/etc/kubernetes/pki/*.crt
- --secrets-include-glob=/etc/ssl/certs/*.crt
added in deployment still its not showing the metrics
With custom values its whowing below error ^^^^^^^^^^^^^^^^^^^^^^ File "yaml/_yaml.pyx", line 673, in yaml._yaml.CParser.get_single_node File "yaml/_yaml.pyx", line 687, in yaml._yaml.CParser._compose_document File "yaml/_yaml.pyx", line 731, in yaml._yaml.CParser._compose_node File "yaml/_yaml.pyx", line 845, in yaml._yaml.CParser._compose_mapping_node File "yaml/_yaml.pyx", line 731, in yaml._yaml.CParser._compose_node File "yaml/_yaml.pyx", line 847, in yaml._yaml.CParser._compose_mapping_node File "yaml/_yaml.pyx", line 860, in yaml._yaml.CParser._parse_next_event yaml.parser.ParserError: while parsing a block mapping in "", line 3, column 3
did not find expected key
in "", line 33, column 5
fatal: [localhost]: FAILED! => {
"changed": false
Used Below values in helm chart deployment. certManager:
DaemonSet or Deployment
kind: DaemonSet replicaCount: 1
image: repository: joeelliott/cert-exporter
The default tag is ".Chart.AppVersion", only set "tag" to override that
imagePullSecrets: [] nameOverride: "" fullnameOverride: ""
podAnnotations: {}
environment: prod
prometheus.io/scrape: true prometheus.io/port: 8080 prometheus.io/path: /metrics
podSecurityContext: {} fsGroup: 2000
securityContext: {}
capabilities:
resources: {}
limits:
nodeSelector: {}
tolerations: []
affinity: {}
volumes: []
service: type: ClusterIP port: 8081
portName: http-metrics
Annotations to add to the service
annotations: {}
Requires prometheus-operator to be installed
serviceMonitor: create: true
rbac: serviceAccount:
Specifies whether a service account should be created
clusterRole:
New role to grant to the service account
clusterRoleBinding: create: true
dashboards:
Labels to add to all dashboard ConfigMaps
additionalLabels: grafana_dashboard: "1" certManagerDashboard: create: true namespace: cert-exporter