2d97bc9b9b
* feat(cert-manager): add Cert-Manager configuration App * eof * pre-commit cleanup * add temp crds folder * patch mistake * restructure * add route53 support * add some fails * fixes and add route53 to GUI * end * add experimental HTTP01 support * fix bug * add buypass acme to dropdown * add akamai support * add Digitalocean * add rfc2136 support * fix some issues and add self-signed issuer * add metrics and fix selfsigned * whoops * Add CA certificate system * whoops * benc stuff * actually load CA * fix * fix ca * bool -> boolean * also test CA * wait for pod to be ready * sleep more agressively on cert-Manger itself * some more fixes * whoops * fix mistakes * all waits test * add cmctl * increase scope for now and some fixes * simplify * dont wait on non-existing pods * make it non-failing * fix typo
26 lines
665 B
Smarty
26 lines
665 B
Smarty
{{- define "certmanager.metrics" -}}
|
|
{{- if .Values.metrics.enabled }}
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: PodMonitor
|
|
metadata:
|
|
name: cert-manager
|
|
namespace: cert-manager
|
|
labels:
|
|
app: cert-manager
|
|
app.kubernetes.io/name: cert-manager
|
|
app.kubernetes.io/instance: cert-manager
|
|
app.kubernetes.io/component: "controller"
|
|
spec:
|
|
jobLabel: app.kubernetes.io/name
|
|
selector:
|
|
matchLabels:
|
|
app: cert-manager
|
|
app.kubernetes.io/name: cert-manager
|
|
app.kubernetes.io/instance: cert-manager
|
|
app.kubernetes.io/component: "controller"
|
|
podMetricsEndpoints:
|
|
- port: http
|
|
honorLabels: true
|
|
{{- end }}
|
|
{{- end -}}
|