mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-19 03:39:32 -04:00
Move Konnectivity socket to non-persistent /run
This commit is contained in:
parent
d1195d1d5f
commit
c4c1bd6bc5
2 changed files with 6 additions and 6 deletions
|
@ -113,8 +113,8 @@ func (c *KubdeadmConfiguration) InitConfiguration(externalCloudProvider bool, k8
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "konnectivity-uds",
|
Name: "konnectivity-uds",
|
||||||
HostPath: "/etc/kubernetes/konnectivity-server",
|
HostPath: "/run/konnectivity-server",
|
||||||
MountPath: "/etc/kubernetes/konnectivity-server",
|
MountPath: "/run/konnectivity-server",
|
||||||
ReadOnly: false,
|
ReadOnly: false,
|
||||||
PathType: corev1.HostPathDirectoryOrCreate,
|
PathType: corev1.HostPathDirectoryOrCreate,
|
||||||
},
|
},
|
||||||
|
|
|
@ -60,7 +60,7 @@ func NewKonnectivityServerStaticPod() *KonnectivityServerStaticPod {
|
||||||
Args: []string{
|
Args: []string{
|
||||||
"--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=/etc/kubernetes/konnectivity-server/konnectivity-server.socket",
|
"--uds-name=/run/konnectivity-server/konnectivity-server.socket",
|
||||||
// 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.
|
||||||
|
@ -119,7 +119,7 @@ func NewKonnectivityServerStaticPod() *KonnectivityServerStaticPod {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "konnectivity-uds",
|
Name: "konnectivity-uds",
|
||||||
MountPath: "/etc/kubernetes/konnectivity-server",
|
MountPath: "/run/konnectivity-server",
|
||||||
ReadOnly: false,
|
ReadOnly: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -146,7 +146,7 @@ func NewKonnectivityServerStaticPod() *KonnectivityServerStaticPod {
|
||||||
Name: "konnectivity-uds",
|
Name: "konnectivity-uds",
|
||||||
VolumeSource: corev1.VolumeSource{
|
VolumeSource: corev1.VolumeSource{
|
||||||
HostPath: &corev1.HostPathVolumeSource{
|
HostPath: &corev1.HostPathVolumeSource{
|
||||||
Path: "/etc/kubernetes/konnectivity-server",
|
Path: "/run/konnectivity-server",
|
||||||
Type: &udsHostPathType,
|
Type: &udsHostPathType,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -172,7 +172,7 @@ func NewEgressSelectorConfiguration() *EgressSelectorConfiguration {
|
||||||
ProxyProtocol: "GRPC",
|
ProxyProtocol: "GRPC",
|
||||||
Transport: &apiserver.Transport{
|
Transport: &apiserver.Transport{
|
||||||
UDS: &apiserver.UDSTransport{
|
UDS: &apiserver.UDSTransport{
|
||||||
UDSName: "/etc/kubernetes/konnectivity-server/konnectivity-server.socket",
|
UDSName: "/run/konnectivity-server/konnectivity-server.socket",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue