Skip to content

Commit

Permalink
[HWORKS-1008] Include OpenSearch Consul domains to elastic user certi…
Browse files Browse the repository at this point in the history
…ficate SAN (#1537)
  • Loading branch information
kouzant committed Jun 7, 2024
1 parent 5caf284 commit 7b8f887
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,9 @@ GeneralName[] getSanForUsername(String username, String region) {
onlinefsDomain.add(HopsworksService.MYSQL.getNameWithTag(MysqlTags.onlinefs));
return convertToGeneralNames(onlinefsDomain, true, region);
case "elastic":
return convertToGeneralNames(HopsworksService.LOGSTASH.domains(), true, region);
return convertToGeneralNames(mergeSets(
HopsworksService.LOGSTASH.domains(), HopsworksService.OPENSEARCH.domains()),
true, region);
case "flyingduck":
return convertToGeneralNames(HopsworksService.FLYING_DUCK.domains(), true, region);
case "kagent":
Expand Down

0 comments on commit 7b8f887

Please sign in to comment.