)]}'
{
  "commit": "842536b10bd1b11e62317940feef215442a8ecb4",
  "tree": "264906157b5cd51ef39e952326b85da48b5bbb5b",
  "parents": [
    "f12bedfa4cd144c3abc4deac58405067d55f9c87"
  ],
  "author": {
    "name": "Lorenz Brun",
    "email": "lorenz@nexantic.com",
    "time": "Tue Jan 26 13:54:57 2021 +0100"
  },
  "committer": {
    "name": "Lorenz Brun",
    "email": "lorenz@nexantic.com",
    "time": "Tue Jan 26 13:54:57 2021 +0100"
  },
  "message": "Make Kubernetes work with read-only root\n\nThis makes Kubernetes work with a read-only root. There\u0027s two places where they hardcode\npaths: One is the DeviceManager socket path (/var/lib/kubelet/device-plugins/kubelet.sock), that one\nis easy to fix because KubeletRootDir is available one scope above. The other one is the pod logs dir\nwhich is too far removed from the main Kubelet config, so I just changed their hardcoded path to ours.\nThe first patch should be upstreamable, for the second one we\u0027d need to take a different approach to upstream.\n\nTest Plan: Should be covered by existing E2E tests.\n\nX-Origin-Diff: phab/D693\nGitOrigin-RevId: 4606ab228a24bd4a0274f8e3156123710a59f2aa\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "13b425dc21fc4a6ef5414003f9409ced64a2c05a",
      "old_mode": 33188,
      "old_path": "build/fietsje/deps_kubernetes.go",
      "new_id": "c6e24d1ef4549303c6e81b7860860631ff75e40c",
      "new_mode": 33188,
      "new_path": "build/fietsje/deps_kubernetes.go"
    },
    {
      "type": "modify",
      "old_id": "cdf2d7b83625633d29a930ffd9c11f3416f64437",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/localstorage/storage.go",
      "new_id": "0f982096b74fdb10bca45cb5da2c666793ec95c7",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/localstorage/storage.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8b37544c69268441aad7d76ffb12231208424bee",
      "new_mode": 33188,
      "new_path": "third_party/go/patches/k8s-fix-logs-path.patch"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ba39a4302dae5ece19adb2aa32e6dd2c933ef8dd",
      "new_mode": 33188,
      "new_path": "third_party/go/patches/k8s-fix-paths.patch"
    },
    {
      "type": "modify",
      "old_id": "92fd615e75461c059cfa3453bf4130ace38796a1",
      "old_mode": 33188,
      "old_path": "third_party/go/repositories.bzl",
      "new_id": "08c7416fd463e196e964d2c6160f70f44e37042f",
      "new_mode": 33188,
      "new_path": "third_party/go/repositories.bzl"
    }
  ]
}
