Skip to content

Commit 789feec

Browse files
Ivan-RosaIvan Rosa
and
Ivan Rosa
authored
conditionally add annotations key (#179)
* conditionally add annotations key * update readme --------- Co-authored-by: Ivan Rosa <[email protected]>
1 parent b3fa6e3 commit 789feec

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

helm/cert-exporter/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name: cert-exporter
33
description: Monitors and exposes PKI information as Prometheus metrics
44

55
type: application
6-
version: 3.9.0
6+
version: 3.10.0
77
appVersion: v2.14.0

helm/cert-exporter/templates/cert-manager/cert-manager.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ spec:
1919
{{- with .Values.certManager.additionalPodLabels }}
2020
{{- toYaml . | nindent 8 }}
2121
{{- end }}
22+
{{- if .Values.certManager.podAnnotations }}
2223
annotations:
2324
{{- toYaml .Values.certManager.podAnnotations | nindent 8 }}
25+
{{- end }}
2426
spec:
2527
{{- with .Values.certManager.imagePullSecrets }}
2628
imagePullSecrets:

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# cert-exporter
22

3-
[![Go Report Card](https://goreportcard.com/badge/github.com/joe-elliott/cert-exporter)](https://goreportcard.com/report/github.com/joe-elliott/cert-exporter) ![binary version](https://img.shields.io/badge/binary%20version-2.14.0-blue) ![helm version](https://img.shields.io/badge/helm%20version-3.9.0-blue)
3+
[![Go Report Card](https://goreportcard.com/badge/github.com/joe-elliott/cert-exporter)](https://goreportcard.com/report/github.com/joe-elliott/cert-exporter) ![binary version](https://img.shields.io/badge/binary%20version-2.14.0-blue) ![helm version](https://img.shields.io/badge/helm%20version-3.10.0-blue)
44

55
Kubernetes uses PKI certificates for authentication between all major components. These certs are critical for the operation of your cluster but are often opaque to an administrator. This application is designed to parse certificates and export expiration information for Prometheus to scrape.
66

0 commit comments

Comments
 (0)