• WanLinghao's avatar
    'kubectl auth can-i` command would not hint user when they try to access · 7fbd7183
    WanLinghao authored
    some resource out of scope. For example, try get namespace inside defaut namespace.
    It would be reject by api-server but `kubectl auth can-i get namespace --namespace=default`
    would give a `yes`. After this patch, a warning info would be given.
    For more detail, please refer issue #75950
    7fbd7183