From 28a4f141d742bb821285fa7834ededa8133b7241 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sat, 9 Nov 2024 13:11:13 +0100 Subject: [PATCH] fix(clusterissuer): allow numbers in ACME names Signed-off-by: Kjeld Schouten --- charts/premium/clusterissuer/templates/clusterissuer/_ACME.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/premium/clusterissuer/templates/clusterissuer/_ACME.tpl b/charts/premium/clusterissuer/templates/clusterissuer/_ACME.tpl index 82db307cb09..7297ee3439c 100644 --- a/charts/premium/clusterissuer/templates/clusterissuer/_ACME.tpl +++ b/charts/premium/clusterissuer/templates/clusterissuer/_ACME.tpl @@ -11,7 +11,7 @@ {{- end -}} {{- end -}} - {{- if or (not .name) (not (mustRegexMatch "^[a-z]+(-?[a-z]){0,63}-?[a-z]+$" .name)) -}} + {{- if or (not .name) (not (mustRegexMatch "^[a-z0-9]+(-[a-z0-9]+)*$" .name)) -}} {{- fail "ACME - Expected name to be all lowercase with hyphens, but not start or end with a hyphen" -}} {{- end -}} {{- $validTypes := list "HTTP01" "cloudflare" "route53" "digitalocean" "akamai" "rfc2136" "acmedns" -}}