Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isRestartableInitContainer (0.24 sec)

  1. pkg/apis/core/validation/validation.go

    		isRestartableInitContainer := false
    		for _, c := range podSpec.InitContainers {
    			if oldStatus.Name == c.Name {
    				if c.RestartPolicy != nil && *c.RestartPolicy == core.ContainerRestartPolicyAlways {
    					isRestartableInitContainer = true
    				}
    				break
    			}
    		}
    		if isRestartableInitContainer {
    			continue
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top