mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
CRI: Remove the mount name and port name.
Per discussion on https://github.com/kubernetes/kubernetes/issues/33873. Currently the mount name is not being used and also involves some incorrect usage (sometimes it's referencing a mount name, sometimes it's referecing a volume name), so we decide to remove it from CRI. The port name is also not used, so remove it as well.
This commit is contained in:
@@ -101,7 +101,6 @@ func (m *kubeGenericRuntimeManager) generatePodSandboxConfig(pod *api.Pod, attem
|
||||
HostPort: &hostPort,
|
||||
ContainerPort: &containerPort,
|
||||
Protocol: &protocol,
|
||||
Name: &port.Name,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user