mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-08 19:08:40 -05:00
Delete existing UDS file if exists
This commit is contained in:
parent
c4c1bd6bc5
commit
cff735b0ee
@ -61,6 +61,8 @@ func NewKonnectivityServerStaticPod() *KonnectivityServerStaticPod {
|
|||||||
"--logtostderr=true",
|
"--logtostderr=true",
|
||||||
// This needs to be consistent with the value set in egressSelectorConfiguration.
|
// This needs to be consistent with the value set in egressSelectorConfiguration.
|
||||||
"--uds-name=/run/konnectivity-server/konnectivity-server.socket",
|
"--uds-name=/run/konnectivity-server/konnectivity-server.socket",
|
||||||
|
// Clean up existing UDS file before starting the server in case the server crashed at some point.
|
||||||
|
"--delete-existing-uds-file=true",
|
||||||
// The following two lines assume the Konnectivity server is
|
// The following two lines assume the Konnectivity server is
|
||||||
// deployed on the same machine as the apiserver, and the certs and
|
// deployed on the same machine as the apiserver, and the certs and
|
||||||
// key of the API Server are at the specified location.
|
// key of the API Server are at the specified location.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user