• Stef Walter's avatar
    kubectl: Add proxy --unix-socket=/file/path option · f6da3fdb
    Stef Walter authored
    Proxies on a TCP port are accessible outside the current security
    context (eg: uid). Add support for having the proxy listen on a
    unix socket, which has permissions applied to it.
    
    We make sure the socket starts its life only accessible by the
    current user using Umask.
    
    This is useful for applications like Cockpit and other tools which
    want the help of kubectl to handle authentication, configuration and
    transport security, but also want to not make that accessible to
    all users on a multi-user system.
    f6da3fdb
kubectl-proxy.1 4.7 KB