mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #129498 from carlory/JobPodFailurePolicy
Remove general available feature-gate JobPodFailurePolicy
This commit is contained in:
		@@ -294,13 +294,6 @@ const (
 | 
				
			|||||||
	// Allows to delegate reconciliation of a Job object to an external controller.
 | 
						// Allows to delegate reconciliation of a Job object to an external controller.
 | 
				
			||||||
	JobManagedBy featuregate.Feature = "JobManagedBy"
 | 
						JobManagedBy featuregate.Feature = "JobManagedBy"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// owner: @mimowo
 | 
					 | 
				
			||||||
	// kep: https://kep.k8s.io/3329
 | 
					 | 
				
			||||||
	//
 | 
					 | 
				
			||||||
	// Allow users to specify handling of pod failures based on container exit codes
 | 
					 | 
				
			||||||
	// and pod conditions.
 | 
					 | 
				
			||||||
	JobPodFailurePolicy featuregate.Feature = "JobPodFailurePolicy"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	// owner: @kannon92
 | 
						// owner: @kannon92
 | 
				
			||||||
	// kep : https://kep.k8s.io/3939
 | 
						// kep : https://kep.k8s.io/3939
 | 
				
			||||||
	//
 | 
						//
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -421,12 +421,6 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
 | 
				
			|||||||
		{Version: version.MustParse("1.32"), Default: true, PreRelease: featuregate.Beta},
 | 
							{Version: version.MustParse("1.32"), Default: true, PreRelease: featuregate.Beta},
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	JobPodFailurePolicy: {
 | 
					 | 
				
			||||||
		{Version: version.MustParse("1.25"), Default: false, PreRelease: featuregate.Alpha},
 | 
					 | 
				
			||||||
		{Version: version.MustParse("1.26"), Default: true, PreRelease: featuregate.Beta},
 | 
					 | 
				
			||||||
		{Version: version.MustParse("1.31"), Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.33
 | 
					 | 
				
			||||||
	},
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	JobPodReplacementPolicy: {
 | 
						JobPodReplacementPolicy: {
 | 
				
			||||||
		{Version: version.MustParse("1.28"), Default: false, PreRelease: featuregate.Alpha},
 | 
							{Version: version.MustParse("1.28"), Default: false, PreRelease: featuregate.Alpha},
 | 
				
			||||||
		{Version: version.MustParse("1.29"), Default: true, PreRelease: featuregate.Beta},
 | 
							{Version: version.MustParse("1.29"), Default: true, PreRelease: featuregate.Beta},
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -566,20 +566,6 @@
 | 
				
			|||||||
    lockToDefault: false
 | 
					    lockToDefault: false
 | 
				
			||||||
    preRelease: Beta
 | 
					    preRelease: Beta
 | 
				
			||||||
    version: "1.32"
 | 
					    version: "1.32"
 | 
				
			||||||
- name: JobPodFailurePolicy
 | 
					 | 
				
			||||||
  versionedSpecs:
 | 
					 | 
				
			||||||
  - default: false
 | 
					 | 
				
			||||||
    lockToDefault: false
 | 
					 | 
				
			||||||
    preRelease: Alpha
 | 
					 | 
				
			||||||
    version: "1.25"
 | 
					 | 
				
			||||||
  - default: true
 | 
					 | 
				
			||||||
    lockToDefault: false
 | 
					 | 
				
			||||||
    preRelease: Beta
 | 
					 | 
				
			||||||
    version: "1.26"
 | 
					 | 
				
			||||||
  - default: true
 | 
					 | 
				
			||||||
    lockToDefault: true
 | 
					 | 
				
			||||||
    preRelease: GA
 | 
					 | 
				
			||||||
    version: "1.31"
 | 
					 | 
				
			||||||
- name: JobPodReplacementPolicy
 | 
					- name: JobPodReplacementPolicy
 | 
				
			||||||
  versionedSpecs:
 | 
					  versionedSpecs:
 | 
				
			||||||
  - default: false
 | 
					  - default: false
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user