David McMahon 
							
						 
					 
					
						
						
							
						
						ef0c9f0c5b 
					 
					
						
						
							
							Remove "All rights reserved" from all the headers.  
						
						
						
						
					 
					
						2016-06-29 17:47:36 -07:00 
						 
				 
			
				
					
						
							
							
								Matthew Wong 
							
						 
					 
					
						
						
							
						
						3118c937be 
					 
					
						
						
							
							Fix pvc label selector validation error  
						
						
						
						
					 
					
						2016-06-27 16:00:03 -04:00 
						 
				 
			
				
					
						
							
							
								k8s-merge-robot 
							
						 
					 
					
						
						
							
						
						b4c81a073a 
					 
					
						
						
							
							Merge pull request  #25709  from asalkeld/null-deref  
						
						... 
						
						
						
						Automatic merge from submit-queue
Check for an empty value in validateField
```release-note
* Fix a panic when args was not supplied with any values.
```
reflect.TypeOf() can take a nil (it then returns a nil), but
Kind() panics on a nil.
Now the user gets the following output:
./kubectl.sh --server=http://localhost:8080  create -f ../../test-files/test-rc.yaml
error validating "../../test-files/test-rc.yaml": error validating data: unexpected nil value for field spec.template.spec.containers[0].args[0]; if you choose to ignore these errors, turn validation off with --validate=false
fixes  #20627  and fixes  #26927  
						
						
					 
					
						2016-06-25 02:31:01 -07:00 
						 
				 
			
				
					
						
							
							
								goltermann 
							
						 
					 
					
						
						
							
						
						218645b346 
					 
					
						
						
							
							Fix several spelling errors in comments.  
						
						
						
						
					 
					
						2016-06-17 10:41:18 -07:00 
						 
				 
			
				
					
						
							
							
								Angus Salkeld 
							
						 
					 
					
						
						
							
						
						5dcbc7ce5b 
					 
					
						
						
							
							Check for an empty value in validateField  
						
						... 
						
						
						
						reflect.TypeOf() can take a nil (it then returns a nil), but
Kind() panics on a nil.
Fixes  #20627  
						
						
					 
					
						2016-05-30 14:12:18 +10:00 
						 
				 
			
				
					
						
							
							
								Phillip Wittrock 
							
						 
					 
					
						
						
							
						
						680b2b9d09 
					 
					
						
						
							
							Kubectl support for validating nested objects with different ApiGroups (e.g. Lists containing objects in different api groups).  Closes   #24089  
						
						
						
						
					 
					
						2016-05-09 19:38:40 -07:00 
						 
				 
			
				
					
						
							
							
								nikhiljindal 
							
						 
					 
					
						
						
							
						
						6eae11e166 
					 
					
						
						
							
							Updating the schema validation code  
						
						
						
						
					 
					
						2016-04-14 18:07:00 -07:00 
						 
				 
			
				
					
						
							
							
								nikhiljindal 
							
						 
					 
					
						
						
							
						
						b476ee4b12 
					 
					
						
						
							
							Allowing type object in kubectl swagger validation  
						
						
						
						
					 
					
						2016-04-08 17:26:35 -07:00 
						 
				 
			
				
					
						
							
							
								AdoHe 
							
						 
					 
					
						
						
							
						
						893e36c61d 
					 
					
						
						
							
							fix kubectl swagger cache bug  
						
						
						
						
					 
					
						2016-03-04 18:59:40 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						682f2a5a79 
					 
					
						
						
							
							Stronger typing for validation ErrorList  
						
						
						
						
					 
					
						2015-11-23 10:01:43 -08:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						48b49a5cae 
					 
					
						
						
							
							s/ValidationErrorList/ErrorList/  
						
						
						
						
					 
					
						2015-11-22 20:13:20 -08:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						0ff66da346 
					 
					
						
						
							
							Move fielderrors into validation  
						
						
						
						
					 
					
						2015-11-22 20:12:20 -08:00 
						 
				 
			
				
					
						
							
							
								eulerzgy 
							
						 
					 
					
						
						
							
						
						f8f9afb874 
					 
					
						
						
							
							alias local packagename for pkg/util/errors  
						
						
						
						
					 
					
						2015-10-18 09:37:46 +08:00 
						 
				 
			
				
					
						
							
							
								k8s-merge-robot 
							
						 
					 
					
						
						
							
						
						6d7d7080df 
					 
					
						
						
							
							Merge pull request  #14411  from feihujiang/removeUselessTodoNotes  
						
						... 
						
						
						
						Auto commit by PR queue bot 
						
						
					 
					
						2015-10-13 15:49:12 -07:00 
						 
				 
			
				
					
						
							
							
								Zichang Lin 
							
						 
					 
					
						
						
							
						
						755d740fed 
					 
					
						
						
							
							Add validate support for list kind  
						
						
						
						
					 
					
						2015-10-06 18:42:36 +08:00 
						 
				 
			
				
					
						
							
							
								Chao Xu 
							
						 
					 
					
						
						
							
						
						ae1293418b 
					 
					
						
						
							
							move experimental/v1 to experimental/v1alpha1;  
						
						... 
						
						
						
						use "group/version" in many places where used to expect "version" only. 
						
						
					 
					
						2015-09-24 15:32:11 -07:00 
						 
				 
			
				
					
						
							
							
								feihujiang 
							
						 
					 
					
						
						
							
						
						4a126e7297 
					 
					
						
						
							
							Remove useless todo notes that handle required fields  
						
						
						
						
					 
					
						2015-09-23 17:45:22 +08:00 
						 
				 
			
				
					
						
							
							
								Janet Kuo 
							
						 
					 
					
						
						
							
						
						5823ef771b 
					 
					
						
						
							
							Make --validate default on and shows how to turn if off  
						
						
						
						
					 
					
						2015-08-25 03:18:32 -07:00 
						 
				 
			
				
					
						
							
							
								Mike Danese 
							
						 
					 
					
						
						
							
						
						17defc7383 
					 
					
						
						
							
							run gofmt on everything we touched  
						
						
						
						
					 
					
						2015-08-05 17:52:56 -07:00 
						 
				 
			
				
					
						
							
							
								Mike Danese 
							
						 
					 
					
						
						
							
						
						8e33cbfa28 
					 
					
						
						
							
							rewrite go imports  
						
						
						
						
					 
					
						2015-08-05 17:30:03 -07:00 
						 
				 
			
				
					
						
							
							
								nikhiljindal 
							
						 
					 
					
						
						
							
						
						8cdd403d9d 
					 
					
						
						
							
							stricter swagger validation  
						
						
						
						
					 
					
						2015-07-29 22:25:09 -07:00 
						 
				 
			
				
					
						
							
							
								feihujiang 
							
						 
					 
					
						
						
							
						
						d5fcd9f153 
					 
					
						
						
							
							improve kubectl create --validate, aggregate errors and handle require fields  
						
						
						
						
					 
					
						2015-06-18 16:22:09 +08:00 
						 
				 
			
				
					
						
							
							
								Fabio Yeon 
							
						 
					 
					
						
						
							
						
						4e6bd63256 
					 
					
						
						
							
							Merge pull request  #9597  from mikedanese/fix-swagger-validate-panic  
						
						... 
						
						
						
						fix panic in kubectl --validate when no apiVersion is passed 
						
						
					 
					
						2015-06-15 13:05:11 -07:00 
						 
				 
			
				
					
						
							
							
								Mike Danese 
							
						 
					 
					
						
						
							
						
						2bbb78d50a 
					 
					
						
						
							
							actually return validation errors instead of just creating them  
						
						
						
						
					 
					
						2015-06-10 12:45:10 -07:00 
						 
				 
			
				
					
						
							
							
								feihujiang 
							
						 
					 
					
						
						
							
						
						5867b5ce6b 
					 
					
						
						
							
							remove useless glog.Infof  
						
						
						
						
					 
					
						2015-06-10 11:02:28 +08:00 
						 
				 
			
				
					
						
							
							
								feihujiang 
							
						 
					 
					
						
						
							
						
						37abe11f8a 
					 
					
						
						
							
							kubetcl create --validate crashes when no apiVersion or kind is provided  
						
						
						
						
					 
					
						2015-06-09 10:38:43 +08:00 
						 
				 
			
				
					
						
							
							
								Kris Rousey 
							
						 
					 
					
						
						
							
						
						22b2c68c02 
					 
					
						
						
							
							Update go-restful to get stable sorting in spec  
						
						... 
						
						
						
						This reverts commit 4a7071e7f7 
						
						
					 
					
						2015-05-28 16:43:13 -07:00 
						 
				 
			
				
					
						
							
							
								Tim Hockin 
							
						 
					 
					
						
						
							
						
						4a7071e7f7 
					 
					
						
						
							
							Revert "Update go-restful to get stable sorting in spec"  
						
						
						
						
					 
					
						2015-05-28 16:04:11 -07:00 
						 
				 
			
				
					
						
							
							
								Kris Rousey 
							
						 
					 
					
						
						
							
						
						05eaaa99e1 
					 
					
						
						
							
							Update go-restful to get stable sorting in spec  
						
						
						
						
					 
					
						2015-05-28 13:40:23 -07:00 
						 
				 
			
				
					
						
							
							
								Huamin Chen 
							
						 
					 
					
						
						
							
						
						4a800fd10e 
					 
					
						
						
							
							add rados block device(rbd) volume plugin  
						
						... 
						
						
						
						Signed-off-by: Huamin Chen <hchen@redhat.com > 
						
						
					 
					
						2015-05-21 14:51:31 -04:00 
						 
				 
			
				
					
						
							
							
								Brendan Burns 
							
						 
					 
					
						
						
							
						
						7f11585972 
					 
					
						
						
							
							Fix validation by moving it into the resource builder.  
						
						... 
						
						
						
						Also always print an error for unknown field. 
						
						
					 
					
						2015-05-08 14:00:33 -07:00 
						 
				 
			
				
					
						
							
							
								Paul Morie 
							
						 
					 
					
						
						
							
						
						f6f34d0493 
					 
					
						
						
							
							Allow int64 types in API; update swagger spec  
						
						
						
						
					 
					
						2015-05-05 12:15:12 -04:00 
						 
				 
			
				
					
						
							
							
								Eric Paris 
							
						 
					 
					
						
						
							
						
						6b3a6e6b98 
					 
					
						
						
							
							Make copyright ownership statement generic  
						
						... 
						
						
						
						Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic. 
						
						
					 
					
						2015-05-01 17:49:56 -04:00 
						 
				 
			
				
					
						
							
							
								nikhiljindal 
							
						 
					 
					
						
						
							
						
						40842e4471 
					 
					
						
						
							
							Updating api/validation/schema_test to test testapi.Version rather than just v1beta1  
						
						
						
						
					 
					
						2015-04-14 23:51:49 -07:00 
						 
				 
			
				
					
						
							
							
								Eric Tune 
							
						 
					 
					
						
						
							
						
						8bf104503c 
					 
					
						
						
							
							Fix nil pointer when validating in kubectl.  
						
						
						
						
					 
					
						2015-03-27 15:49:51 -07:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						6918a4d32e 
					 
					
						
						
							
							Replace automatic YAML decoding with opt-in YAML decoding  
						
						... 
						
						
						
						Base codecs no longer automically handle YAML.  Instead, clients
must convert to JSON first via yaml.ToJSON and runtime.YAMLDecoder. 
						
						
					 
					
						2015-03-20 00:03:56 -04:00 
						 
				 
			
				
					
						
							
							
								nikhiljindal 
							
						 
					 
					
						
						
							
						
						b2276b5d4b 
					 
					
						
						
							
							Updating pkg/api/validation/ to consider swagger.items as object and not array  
						
						
						
						
					 
					
						2015-03-12 16:04:11 -07:00 
						 
				 
			
				
					
						
							
							
								Sam Ghods 
							
						 
					 
					
						
						
							
						
						7845ab90f8 
					 
					
						
						
							
							Upgrade from gopkg.in/v2/yaml to gopkg.in/yaml.v2 everywhere  
						
						
						
						
					 
					
						2015-01-13 15:06:25 -08:00 
						 
				 
			
				
					
						
							
							
								Brendan Burns 
							
						 
					 
					
						
						
							
						
						18cfac0d31 
					 
					
						
						
							
							Make validation optional, handle YAML  
						
						
						
						
					 
					
						2014-12-09 12:37:49 -08:00 
						 
				 
			
				
					
						
							
							
								Brendan Burns 
							
						 
					 
					
						
						
							
						
						c29f5db81c 
					 
					
						
						
							
							Revert "Revert "Add optional validation to kubecfg/kubectl.""  
						
						... 
						
						
						
						This reverts commit 6590c66dd4 
						
						
					 
					
						2014-12-09 12:37:48 -08:00 
						 
				 
			
				
					
						
							
							
								Joe Beda 
							
						 
					 
					
						
						
							
						
						6590c66dd4 
					 
					
						
						
							
							Revert "Add optional validation to kubecfg/kubectl."  
						
						... 
						
						
						
						This reverts commit acf6d82800 
						
						
					 
					
						2014-11-25 14:45:00 -08:00 
						 
				 
			
				
					
						
							
							
								Brendan Burns 
							
						 
					 
					
						
						
							
						
						acf6d82800 
					 
					
						
						
							
							Add optional validation to kubecfg/kubectl.  
						
						
						
						
					 
					
						2014-11-24 22:25:22 -08:00 
						 
				 
			
				
					
						
							
							
								Brendan Burns 
							
						 
					 
					
						
						
							
						
						6c53d3b462 
					 
					
						
						
							
							Add a swagger schema validator, for validating client side json files.  
						
						
						
						
					 
					
						2014-11-20 22:16:55 -08:00