Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dataplane: Fix certificate path and listening port #637

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
)
Loading