1. 12 Apr, 2016 4 commits
    • k8s-merge-robot's avatar
      Merge pull request #16964 from liggitt/json_precision · fcddb9cb
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Preserve int data when unmarshaling
      
      There are several places we use `json.Unmarshal` into an unstructured map (StrategicMergePatch, UnstructuredJSONScheme, many others).
      
      In this scenario, the json package converts all numbers to float64. This exposes many of the int64 fields in our API types to corruption when the unstructured map is marshalled back to json.
      
      A simple example is a pod with an `"activeDeadlineSeconds": 1000000`. Trying to use `kubectl label`, `annotate`, `patch`, etc results in that int64 being converted to a float64, submitted to the server, and the server rejecting it with an error about "cannot unmarshal number 1e+6 into Go value of type int64"
      
      The json package provides a way to defer conversion of numbers (`json.Decoder#UseNumber`), but does not actually do conversions to int or float. This PR makes use of that feature, and post-processes the unmarshalled map to convert json.Number objects to either int64 or float64 values
      fcddb9cb
    • k8s-merge-robot's avatar
      Merge pull request #23660 from goltermann/vetclean · acf9492c
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Additional go vet fixes
      
      Mostly:
      - pass lock by value
      - bad syntax for struct tag value
      - example functions not formatted properly
      acf9492c
    • k8s-merge-robot's avatar
      Merge pull request #24015 from yujuhong/rss_memory · fda8ec2f
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      kubele: add RSS memroy to the summary API
      fda8ec2f
    • k8s-merge-robot's avatar
      Merge pull request #23763 from david-mcmahon/build-regex · af1803bf
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Fix valid CI version regex in parse_and_validate_release_version().
      
      Ref: #23759
      cc @ihmccreery 
      af1803bf
  2. 11 Apr, 2016 14 commits
  3. 10 Apr, 2016 1 commit
    • k8s-merge-robot's avatar
      Merge pull request #23962 from fejta/test-cmd · e3117721
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Update hack/test-cmd.sh to use tagged, gcr.io images
      
      Migrate hack/test-cmd.sh and related test data to use tagged, gcr.io versions of the images for #13288 and #20836
      e3117721
  4. 09 Apr, 2016 8 commits
  5. 08 Apr, 2016 13 commits