add monitoring templates

This commit is contained in:
Victor Barba Martin 2021-11-04 17:51:47 +01:00
parent 8cb4ec34f3
commit 53d681e054
4 changed files with 0 additions and 33 deletions

View File

@ -1,14 +0,0 @@
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
name: prometheus-operator-prod
namespace: monitoring
spec:
secretName: letsencrypt-secret-prod
duration: 2160h # 90d
renewBefore: 360h # 15d
issuerRef:
name: letsencrypt-monitoring
kind: ClusterIssuer
dnsNames:
- monitoring.video.jamkazam.com

View File

@ -1,19 +0,0 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-monitoring
spec:
acme:
# You must replace this email address with your own.
# Let's Encrypt will use this to contact you about expiring
# certificates, and issues related to your account.
email: victor.barba.martin@toptal.com
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
# Secret resource that will be used to store the account's private key.
name: issuer-account-key
# Add a single challenge solver, HTTP01 using nginx
solvers:
- http01:
ingress:
class: nginx