Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetIstioPods (0.08 sec)

  1. istioctl/pkg/authz/authz.go

    	}
    	return envoyConfig, nil
    }
    
    func getConfigDumpFromPod(kubeClient kube.CLIClient, podName, podNamespace string) (*configdump.Wrapper, error) {
    	pods, err := kubeClient.GetIstioPods(context.TODO(), podNamespace, metav1.ListOptions{
    		FieldSelector: "metadata.name=" + podName,
    	})
    	if err != nil {
    		return nil, fmt.Errorf("failed to get pod: %s", err)
    	}
    	if len(pods) != 1 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top