mirror of
https://github.com/enix/x509-certificate-exporter.git
synced 2026-08-28 16:27:16 +00:00
feat(x509-certificate-exporter): add exposeRelativeMetrics
This commit is contained in:
+3
-3
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
name: x509-certificate-exporter
|
||||
version: 1.9.0
|
||||
version: 1.10.0
|
||||
# when bumping appVersion, change the annotation too (manual for now)
|
||||
appVersion: 2.7.0
|
||||
appVersion: 2.8.0
|
||||
type: application
|
||||
description: A Prometheus exporter for certificates focusing on expiration monitoring
|
||||
keywords:
|
||||
@@ -28,7 +28,7 @@ annotations:
|
||||
artifacthub.io/license: MIT
|
||||
artifacthub.io/images: |
|
||||
- name: x509-certificate-exporter
|
||||
image: enix/x509-certificate-exporter:2.7.0
|
||||
image: enix/x509-certificate-exporter:2.8.0
|
||||
- name: kube-rbac-proxy
|
||||
image: quay.io/coreos/kube-rbac-proxy:v0.5.0
|
||||
whitelisted: true
|
||||
|
||||
@@ -483,6 +483,7 @@ in the container namespace.
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| exposeRelativeMetrics | bool | `false` | Enable additional metrics with relative durations instead of absolute timestamps |
|
||||
| extraLabels | object | `{}` | |
|
||||
| fullnameOverride | string | `""` | String to fully override x509-certificate-exporter.fullname template with a string |
|
||||
| hostNetwork | bool | `false` | Enable hostNetwork mode. Useful when Prometheus is deployed outside of the Kubernetes cluster |
|
||||
|
||||
@@ -67,6 +67,9 @@ spec:
|
||||
{{- with default $.Values.hostPathsExporter.debugMode $dsDef.debugMode }}
|
||||
- --debug
|
||||
{{- end }}
|
||||
{{- if $.Values.exposeRelativeMetrics }}
|
||||
- --expose-relative-metrics
|
||||
{{- else }}
|
||||
{{- if not $.Values.rbacProxy.enabled }}
|
||||
- --port={{ $.Values.podListenPort }}
|
||||
{{- else }}
|
||||
|
||||
@@ -77,6 +77,9 @@ spec:
|
||||
{{- if .Values.secretsExporter.debugMode }}
|
||||
- --debug
|
||||
{{- end }}
|
||||
{{- if $.Values.exposeRelativeMetrics }}
|
||||
- --expose-relative-metrics
|
||||
{{- else }}
|
||||
- --watch-kube-secrets
|
||||
{{- range .Values.secretsExporter.secretTypes }}
|
||||
- --secret-type={{ .type | trim }}:{{ .key | trim }}
|
||||
|
||||
@@ -10,6 +10,9 @@ nameOverride: ""
|
||||
# -- String to fully override x509-certificate-exporter.fullname template with a string
|
||||
fullnameOverride: ""
|
||||
|
||||
# -- Enable additional metrics with relative durations instead of absolute timestamps
|
||||
exposeRelativeMetrics: false
|
||||
|
||||
# -- Specify docker-registry secret names as an array
|
||||
imagePullSecrets: []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user