Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UpdateOptions (0.12 sec)

  1. istioctl/pkg/tag/util.go

    		wh.ObjectSelector = util.NeverMatch
    		webhook.Webhooks[i] = wh
    	}
    	admit := client.AdmissionregistrationV1().MutatingWebhookConfigurations()
    	_, err = admit.Update(ctx, &webhook, metav1.UpdateOptions{})
    	if err != nil {
    		return err
    	}
    
    	return nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. 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