Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UpdateOptions (0.15 sec)

  1. istioctl/pkg/waypoint/waypoint.go

    	if nsObj.Labels == nil {
    		nsObj.Labels = map[string]string{}
    	}
    	nsObj.Labels[label.IoIstioUseWaypoint.Name] = waypointName
    	if _, err := kubeClient.Kube().CoreV1().Namespaces().Update(context.Background(), nsObj, metav1.UpdateOptions{}); err != nil {
    		return fmt.Errorf("failed to update namespace %s: %v", ns, err)
    	}
    	return nil
    }
    
    func namespaceHasLabel(kubeClient kube.CLIClient, ns string, label string) (bool, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top