From acb29f389a53cc8950b4d591666e980b9de44a26 Mon Sep 17 00:00:00 2001 From: pritamdas99 Date: Tue, 17 Dec 2024 20:27:25 +0600 Subject: [PATCH] Export internal user defaulting method Signed-off-by: pritamdas99 --- apis/kubedb/v1/elasticsearch_helpers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/kubedb/v1/elasticsearch_helpers.go b/apis/kubedb/v1/elasticsearch_helpers.go index 82c6857275..2a2a6d69ce 100644 --- a/apis/kubedb/v1/elasticsearch_helpers.go +++ b/apis/kubedb/v1/elasticsearch_helpers.go @@ -705,7 +705,7 @@ func (e *Elasticsearch) SetDefaults(esVersion *catalog.ElasticsearchVersion) { } } - e.setDefaultInternalUsersAndRoleMappings(esVersion) + e.SetDefaultInternalUsersAndRoleMappings(esVersion) e.SetMetricsExporterDefaults(esVersion) e.SetTLSDefaults(esVersion) } @@ -723,7 +723,7 @@ func (e *Elasticsearch) SetMetricsExporterDefaults(esVersion *catalog.Elasticsea } // Set Default internal users settings -func (e *Elasticsearch) setDefaultInternalUsersAndRoleMappings(esVersion *catalog.ElasticsearchVersion) { +func (e *Elasticsearch) SetDefaultInternalUsersAndRoleMappings(esVersion *catalog.ElasticsearchVersion) { // If security is disabled (ie. DisableSecurity: true), ignore. if e.Spec.DisableSecurity { return