Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isAnnotated (0.1 sec)

  1. cni/pkg/nodeagent/informers.go

    		isAnnotated := newPod.Annotations != nil && newPod.Annotations[annotation.AmbientRedirection.Name] == constants.AmbientRedirectionEnabled
    		shouldBeEnabled := util.PodRedirectionEnabled(ns, newPod)
    		isTerminated := kube.CheckPodTerminal(newPod)
    		// Check intent (labels) versus status (annotation) - is there a delta we need to fix?
    		changeNeeded := (isAnnotated != shouldBeEnabled) && !isTerminated
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top