Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewInsufficientPermissions (0.18 sec)

  1. istioctl/pkg/precheck/precheck.go

    		},
    	}
    	msgs := diag.Messages{}
    	for _, r := range Resources {
    		err := checkCanCreateResources(cli, r.namespace, r.group, r.version, r.resource)
    		if err != nil {
    			msgs.Add(msg.NewInsufficientPermissions(&resource.Instance{Origin: clusterOrigin{}}, r.resource, err.Error()))
    		}
    	}
    	return msgs
    }
    
    func checkCanCreateResources(c kube.CLIClient, namespace, group, version, resource string) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top