Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for injectionStatus (0.14 sec)

  1. pkg/kube/inject/inject.go

    			ret = append(ret, al...)
    		} else {
    			ret = append(ret, name)
    		}
    	}
    	return ret
    }
    
    func stripPod(req InjectionParameters) *corev1.Pod {
    	pod := req.pod.DeepCopy()
    	prevStatus := injectionStatus(pod)
    	if prevStatus == nil {
    		return req.pod
    	}
    	// We found a previous status annotation. Possibly we are re-injecting the pod
    	// To ensure idempotency, remove our injected containers first
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    	if v, ok := anno[label.IoIstioRev.Name]; ok {
    		return v
    	}
    	statusString := anno.Get(apiannotation.SidecarStatus.Name)
    	var injectionStatus inject.SidecarInjectionStatus
    	if err := json.Unmarshal([]byte(statusString), &injectionStatus); err != nil {
    		return ""
    	}
    
    	return injectionStatus.Revision
    }
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	describeCmd := &cobra.Command{
    		Use:     "describe",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
Back to top