Refactor ingress nginx variables
This commit is contained in:
parent
6d90b5e10a
commit
9c0a39636d
4 changed files with 15 additions and 4 deletions
|
|
@ -51,6 +51,8 @@ func updateServerLocations(locations []*ingress.Location) []*ingress.Location {
|
|||
continue
|
||||
}
|
||||
|
||||
location.IngressPath = location.Path
|
||||
|
||||
// only Prefix locations could require an additional location block
|
||||
if *location.PathType != pathTypePrefix {
|
||||
newLocations = append(newLocations, location)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue