Skip to content

Commit

Permalink
dataplane: Fix certificate path and listening port (#637)
Browse files Browse the repository at this point in the history
Fix the key path and listening port for datapalne to support Openshift.

Signed-off-by: Kfir Toledo <[email protected]>
  • Loading branch information
kfirtoledo authored Jun 6, 2024
1 parent fbca843 commit 7021f7b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/cl-controlplane/app/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const (
// CertificateFile is the path to the certificate file.
CertificateFile = "/etc/ssl/certs/clink-controlplane.pem"
// KeyFile is the path to the private-key file.
KeyFile = "/etc/ssl/private/clink-controlplane.pem"
KeyFile = "/etc/ssl/key/clink-controlplane.pem"

// PeerTLSDirectory is the path to the directory holding the peer TLS certificates.
PeerTLSDirectory = "/etc/ssl/certs/clink"
Expand Down
2 changes: 1 addition & 1 deletion cmd/cl-dataplane/app/envoyconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ admin:
address:
socket_address:
address: 127.0.0.1
port_value: 1000
port_value: 1500
bootstrap_extensions:
- name: envoy.bootstrap.internal_listener
typed_config:
Expand Down
2 changes: 1 addition & 1 deletion cmd/cl-dataplane/app/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const (
// CertificateFile is the path to the certificate file.
CertificateFile = "/etc/ssl/certs/clink-dataplane.pem"
// KeyFile is the path to the private-key file.
KeyFile = "/etc/ssl/private/clink-dataplane.pem"
KeyFile = "/etc/ssl/key/clink-dataplane.pem"

// Name is the app label of dataplane pods.
Name = "cl-dataplane"
Expand Down
2 changes: 1 addition & 1 deletion cmd/cl-go-dataplane/app/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const (
// CertificateFile is the path to the certificate file.
CertificateFile = "/etc/ssl/certs/clink-dataplane.pem"
// KeyFile is the path to the private-key file.
KeyFile = "/etc/ssl/private/clink-dataplane.pem"
KeyFile = "/etc/ssl/key/clink-dataplane.pem"
)

// Options contains everything necessary to create and run a dataplane.
Expand Down
2 changes: 1 addition & 1 deletion pkg/dataplane/api/servername.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ package api

const (
// ListenPort is the dataplane external listening port.
ListenPort = 443
ListenPort = 4443
)

0 comments on commit 7021f7b

Please sign in to comment.