Skip to content

Commit

Permalink
MEDIUM: change backend ssl name from ssl to ssl-backend
Browse files Browse the repository at this point in the history
[WARNING]  (345) : config : Parsing [/etc/haproxy/haproxy.cfg:163]: backend 'ssl' has the same name as frontend 'ssl' declared at /etc/haproxy/haproxy.cfg:77. This is dangerous and will not be supported anymore in version 3.3.
  • Loading branch information
hdurand0710 authored and oktalz committed Feb 3, 2025
1 parent 7dc69cd commit 5603609
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .aspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ allowed:
- parallelize
- maxconn
- kubebuilder
- cfg
2 changes: 1 addition & 1 deletion deploy/tests/integration/base-suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (suite *BaseSuite) StartController() {
FrontHTTP: "http",
FrontHTTPS: "https",
FrontSSL: "ssl",
BackSSL: "ssl",
BackSSL: "ssl-backend",
},
}

Expand Down
2 changes: 1 addition & 1 deletion deploy/tests/tnr/routeacl/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (suite *UseBackendSuite) UseBackendFixture() (eventChan chan k8ssync.SyncDa
FrontHTTP: "http",
FrontHTTPS: "https",
FrontSSL: "ssl",
BackSSL: "ssl",
BackSSL: "ssl-backend",
},
}

Expand Down
2 changes: 1 addition & 1 deletion deploy/tests/ut/acls/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (suite *ACLSuite) UseACLFixture() (eventChan chan k8ssync.SyncDataEvent) {
FrontHTTP: "http",
FrontHTTPS: "https",
FrontSSL: "ssl",
BackSSL: "ssl",
BackSSL: "ssl-backend",
},
}
haproxyConfig, err := os.ReadFile("../../../../fs/usr/local/etc/haproxy/haproxy.cfg")
Expand Down
2 changes: 1 addition & 1 deletion deploy/tests/ut/httprequests/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (suite *HTTPRequestsSuite) UseHTTPRequestsFixture() (eventChan chan k8ssync
FrontHTTP: "http",
FrontHTTPS: "https",
FrontSSL: "ssl",
BackSSL: "ssl",
BackSSL: "ssl-backend",
},
}
haproxyConfig, err := os.ReadFile("../../../../fs/usr/local/etc/haproxy/haproxy.cfg")
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/constants/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package constants
const (
DefaultsSectionName = "haproxytech"
SSL_FRONTEND = "ssl"
SSL_BACKEND = "ssl"
SSL_BACKEND = "ssl-backend"
HTTP_FRONTEND = "http"
HTTPS_FRONTEND = "https"
)

0 comments on commit 5603609

Please sign in to comment.