Skip to content

Commit 7021f7b

Browse files
authored
dataplane: Fix certificate path and listening port (#637)
Fix the key path and listening port for datapalne to support Openshift. Signed-off-by: Kfir Toledo <kfir.toledo@ibm.com>
1 parent fbca843 commit 7021f7b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

cmd/cl-controlplane/app/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const (
5454
// CertificateFile is the path to the certificate file.
5555
CertificateFile = "/etc/ssl/certs/clink-controlplane.pem"
5656
// KeyFile is the path to the private-key file.
57-
KeyFile = "/etc/ssl/private/clink-controlplane.pem"
57+
KeyFile = "/etc/ssl/key/clink-controlplane.pem"
5858

5959
// PeerTLSDirectory is the path to the directory holding the peer TLS certificates.
6060
PeerTLSDirectory = "/etc/ssl/certs/clink"

cmd/cl-dataplane/app/envoyconf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ admin:
2222
address:
2323
socket_address:
2424
address: 127.0.0.1
25-
port_value: 1000
25+
port_value: 1500
2626
bootstrap_extensions:
2727
- name: envoy.bootstrap.internal_listener
2828
typed_config:

cmd/cl-dataplane/app/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const (
3434
// CertificateFile is the path to the certificate file.
3535
CertificateFile = "/etc/ssl/certs/clink-dataplane.pem"
3636
// KeyFile is the path to the private-key file.
37-
KeyFile = "/etc/ssl/private/clink-dataplane.pem"
37+
KeyFile = "/etc/ssl/key/clink-dataplane.pem"
3838

3939
// Name is the app label of dataplane pods.
4040
Name = "cl-dataplane"

cmd/cl-go-dataplane/app/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const (
4545
// CertificateFile is the path to the certificate file.
4646
CertificateFile = "/etc/ssl/certs/clink-dataplane.pem"
4747
// KeyFile is the path to the private-key file.
48-
KeyFile = "/etc/ssl/private/clink-dataplane.pem"
48+
KeyFile = "/etc/ssl/key/clink-dataplane.pem"
4949
)
5050

5151
// Options contains everything necessary to create and run a dataplane.

pkg/dataplane/api/servername.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ package api
1515

1616
const (
1717
// ListenPort is the dataplane external listening port.
18-
ListenPort = 443
18+
ListenPort = 4443
1919
)

0 commit comments

Comments
 (0)