Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CloneAndAddLabel (0.34 sec)

  1. pkg/controller/daemon/update.go

    	name := ds.Name + "-" + hash
    	history := &apps.ControllerRevision{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:            name,
    			Namespace:       ds.Namespace,
    			Labels:          labelsutil.CloneAndAddLabel(ds.Spec.Template.Labels, apps.DefaultDaemonSetUniqueLabelKey, hash),
    			Annotations:     ds.Annotations,
    			OwnerReferences: []metav1.OwnerReference{*metav1.NewControllerRef(ds, controllerKind)},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top