k8s-cluster/yaml/monitoring/grafana-cert.yaml
2024-05-18 05:03:38 +03:00

17 lines
335 B
YAML

---
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