Skip to content

Commit

Permalink
Export internal user defaulting method
Browse files Browse the repository at this point in the history
Signed-off-by: pritamdas99 <[email protected]>
  • Loading branch information
pritamdas99 committed Dec 17, 2024
1 parent eb5543e commit acb29f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis/kubedb/v1/elasticsearch_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ func (e *Elasticsearch) SetDefaults(esVersion *catalog.ElasticsearchVersion) {
}
}

e.setDefaultInternalUsersAndRoleMappings(esVersion)
e.SetDefaultInternalUsersAndRoleMappings(esVersion)
e.SetMetricsExporterDefaults(esVersion)
e.SetTLSDefaults(esVersion)
}
Expand All @@ -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
Expand Down

0 comments on commit acb29f3

Please sign in to comment.