mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-22 07:50:04 -05:00
Move Konnectivity socket to non-persistent /run
This commit is contained in:
parent
d1195d1d5f
commit
c4c1bd6bc5
@ -113,8 +113,8 @@ func (c *KubdeadmConfiguration) InitConfiguration(externalCloudProvider bool, k8
|
||||
},
|
||||
{
|
||||
Name: "konnectivity-uds",
|
||||
HostPath: "/etc/kubernetes/konnectivity-server",
|
||||
MountPath: "/etc/kubernetes/konnectivity-server",
|
||||
HostPath: "/run/konnectivity-server",
|
||||
MountPath: "/run/konnectivity-server",
|
||||
ReadOnly: false,
|
||||
PathType: corev1.HostPathDirectoryOrCreate,
|
||||
},
|
||||
|
@ -60,7 +60,7 @@ func NewKonnectivityServerStaticPod() *KonnectivityServerStaticPod {
|
||||
Args: []string{
|
||||
"--logtostderr=true",
|
||||
// This needs to be consistent with the value set in egressSelectorConfiguration.
|
||||
"--uds-name=/etc/kubernetes/konnectivity-server/konnectivity-server.socket",
|
||||
"--uds-name=/run/konnectivity-server/konnectivity-server.socket",
|
||||
// The following two lines assume the Konnectivity server is
|
||||
// deployed on the same machine as the apiserver, and the certs and
|
||||
// key of the API Server are at the specified location.
|
||||
@ -119,7 +119,7 @@ func NewKonnectivityServerStaticPod() *KonnectivityServerStaticPod {
|
||||
},
|
||||
{
|
||||
Name: "konnectivity-uds",
|
||||
MountPath: "/etc/kubernetes/konnectivity-server",
|
||||
MountPath: "/run/konnectivity-server",
|
||||
ReadOnly: false,
|
||||
},
|
||||
},
|
||||
@ -146,7 +146,7 @@ func NewKonnectivityServerStaticPod() *KonnectivityServerStaticPod {
|
||||
Name: "konnectivity-uds",
|
||||
VolumeSource: corev1.VolumeSource{
|
||||
HostPath: &corev1.HostPathVolumeSource{
|
||||
Path: "/etc/kubernetes/konnectivity-server",
|
||||
Path: "/run/konnectivity-server",
|
||||
Type: &udsHostPathType,
|
||||
},
|
||||
},
|
||||
@ -172,7 +172,7 @@ func NewEgressSelectorConfiguration() *EgressSelectorConfiguration {
|
||||
ProxyProtocol: "GRPC",
|
||||
Transport: &apiserver.Transport{
|
||||
UDS: &apiserver.UDSTransport{
|
||||
UDSName: "/etc/kubernetes/konnectivity-server/konnectivity-server.socket",
|
||||
UDSName: "/run/konnectivity-server/konnectivity-server.socket",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user