k8s-cluster/yaml/monitoring/grafana-cert.yaml

17 lines
335 B
YAML
Raw Normal View History

2024-05-17 22:03:38 -04:00
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: grafana-cert
namespace: monitoring
spec:
secretName: grafana-tls
issuerRef:
name: letsencrypt-production-dns
kind: ClusterIssuer
commonName: 'grafana.${CLUSTER_DOMAIN}'
dnsNames:
- 'grafana.${CLUSTER_DOMAIN}'
privateKey:
algorithm: ECDSA