From f31285abccadaa64456d54fc6a4c6b942cbf4309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Boros?= Date: Fri, 26 Apr 2024 06:05:36 +0400 Subject: [PATCH] fix: ensure ES cluster cert name is valid (#71) --- charts/harmony-chart/templates/elasticsearch/secrets.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/harmony-chart/templates/elasticsearch/secrets.yaml b/charts/harmony-chart/templates/elasticsearch/secrets.yaml index cf70d9e..3ffcdb6 100644 --- a/charts/harmony-chart/templates/elasticsearch/secrets.yaml +++ b/charts/harmony-chart/templates/elasticsearch/secrets.yaml @@ -1,6 +1,6 @@ --- {{- $ca := genCA "elasticca" 1825 }} -{{- $cn := printf "elasticsearch-master.%s.local" .Release.Namespace }} +{{- $cn := printf "harmony-search-cluster.%s.svc.cluster.local" .Release.Namespace }} {{- $cert := genSignedCert $cn nil (list $cn) 1825 $ca }} apiVersion: v1 kind: Secret