Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helm/cert-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: cert-exporter
description: Monitors and exposes PKI information as Prometheus metrics

type: application
version: 2.7.4
version: 2.8.0
appVersion: v2.7.0
6 changes: 6 additions & 0 deletions helm/cert-exporter/templates/deployment/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ spec:
metadata:
labels:
{{- include "cert-exporter.certManagerDeploymentSelectorLabels" . | nindent 8 }}
{{- with .Values.certManagerDeployment.deployment.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- toYaml .Values.certManagerDeployment.deployment.podAnnotations | nindent 8 }}
spec:
Expand All @@ -37,6 +40,9 @@ spec:
args:
{{- toYaml . | nindent 12}}
{{- end}}
{{- with .Values.certManagerDeployment.deployment.env }}
env: {{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: 8080
Expand Down
3 changes: 3 additions & 0 deletions helm/cert-exporter/templates/deployment/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ spec:
relabelings:
{{ toYaml .Values.certManagerDeployment.service.serviceMonitor.relabelings | nindent 6 }}
{{- end }}
{{- with .Values.certManagerDeployment.service.serviceMonitor.podTargetLabels }}
podTargetLabels: {{ toYaml . | nindent 4 }}
{{- end }}
{{- end }}
14 changes: 13 additions & 1 deletion helm/cert-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ certManagerDeployment:
nameOverride: ""
fullnameOverride: ""

podAnnotations: {}
podLabels: {}
# environment: prod

podAnnotations: {}
# prometheus.io/scrape: true
# prometheus.io/port: 8080
# prometheus.io/path: /metrics
Expand All @@ -43,6 +45,10 @@ certManagerDeployment:
# cpu: 100m
# memory: 128Mi

env: []
# - name: DEMO_GREETING
# value: "Hello from the environment"

nodeSelector: {}

tolerations: []
Expand Down Expand Up @@ -98,6 +104,12 @@ certManagerDeployment:
# replacement: $1
# action: replace

## PodTargetLabels transfers labels on the Kubernetes Pod onto the target.
##
podTargetLabels: []
# - app
# - environment

rbac:
serviceAccount:
# Specifies whether a service account should be created
Expand Down