Skip to content

Commit

Permalink
Feature/add support for deploying additional manifest (#173)
Browse files Browse the repository at this point in the history
* feat(extra-manifest): added new template file for extra manifest

* feat(extra-manifest): Introduced a new configuration option extraManifests in the values.yaml file

* feat(extra-manifest): leave default value for certManagerDashboard.create to true

* Helm release 3.6.0 #173
  • Loading branch information
Mistral-valaise authored Aug 20, 2024
1 parent b3fbba8 commit d46c099
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
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: 3.7.0
version: 3.8.0
appVersion: v2.13.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ range .Values.extraManifests }}
---
{{ tpl . $ }}
{{ end }}
24 changes: 24 additions & 0 deletions helm/cert-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,30 @@ rbac:
clusterRoleBinding:
create: true

# Extra manifests to deploy as an array
extraManifests: []
# - |
# apiVersion: rbac.authorization.k8s.io/v1
# kind: Role
# metadata:
# name: cert-exporter
# rules:
# - apiGroups: [""]
# resources: ["configmaps", "secrets"]
# verbs: ["get", "list"]
# - |
# apiVersion: rbac.authorization.k8s.io/v1
# kind: RoleBinding
# metadata:
# name: cert-exporter
# roleRef:
# apiGroup: rbac.authorization.k8s.io
# kind: Role
# name: cert-exporter
# subjects:
# - kind: ServiceAccount
# name: cert-exporter

dashboards:
# Labels to add to all dashboard ConfigMaps
additionalLabels:
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cert-exporter

[![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.13.0-blue) ![helm version](https://img.shields.io/badge/helm%20version-3.7.0-blue)
[![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.13.0-blue) ![helm version](https://img.shields.io/badge/helm%20version-3.8.0-blue)

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.

Expand Down

0 comments on commit d46c099

Please sign in to comment.