Preserve int64 data when patching

This commit is contained in:
Jordan Liggitt
2015-11-06 23:13:17 -05:00
parent fbe5f70267
commit 37c86041ca
8 changed files with 626 additions and 4 deletions

24
hack/testdata/pod-with-precision.json vendored Normal file
View File

@@ -0,0 +1,24 @@
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name": "pod-with-precision"
},
"spec": {
"activeDeadlineSeconds": 2147483647,
"containers": [
{
"name": "kubernetes-pause",
"image": "kubernetes/pause"
}
],
"restartPolicy": "Never",
"securityContext": {
"supplementalGroups": [
0,
1000030003,
2147483647
]
}
}
}