From 61a7bffe3ed06e9c15810913823280a36ed74b8c Mon Sep 17 00:00:00 2001 From: Joshua Smeda Date: Tue, 26 Aug 2025 13:39:23 +0000 Subject: [PATCH] #1709 - Add commonName to dnsNames in Certificate manifest to comply with ACME requirements for cert-manager --- charts/metrics-server/templates/certificate.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/metrics-server/templates/certificate.yaml b/charts/metrics-server/templates/certificate.yaml index c4de300f8..3f1c04fc9 100644 --- a/charts/metrics-server/templates/certificate.yaml +++ b/charts/metrics-server/templates/certificate.yaml @@ -19,6 +19,7 @@ metadata: spec: commonName: {{ include "metrics-server.fullname" . }} dnsNames: + - {{ include "metrics-server.fullname" . }} - {{ include "metrics-server.fullname" . }}.{{ .Release.Namespace }} - {{ include "metrics-server.fullname" . }}.{{ .Release.Namespace }}.svc - {{ include "metrics-server.fullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.tls.clusterDomain }}