fix(certmanager): improve regex to ignore "`" character
This commit is contained in:
parent
065b04ba39
commit
0ae856a894
1 changed files with 1 additions and 0 deletions
|
@ -140,6 +140,7 @@ func extractHosts(routes []map[string]interface{}) []string {
|
|||
}
|
||||
|
||||
if match, ok = route["match"].(string); ok {
|
||||
match = strings.ReplaceAll(match, "`", "")
|
||||
hostMatches := re.FindAllStringSubmatch(match, -1)
|
||||
for _, match := range hostMatches {
|
||||
if len(match) > 1 {
|
||||
|
|
Loading…
Reference in a new issue