Skip to content

Instantly share code, notes, and snippets.

@pflooky
Created January 11, 2022 00:18
Show Gist options
  • Save pflooky/89620a9fa0f5c16bf7c995e994d1ed16 to your computer and use it in GitHub Desktop.
Save pflooky/89620a9fa0f5c16bf7c995e994d1ed16 to your computer and use it in GitHub Desktop.
[
{
"op": "add",
"path": "/spec/volumes/-",
"value": {
"name": "tmp-dir",
"emptyDir": {}
}
},
{
"op": "add",
"path": "/spec/containers/0/volumneMounts/-",
"value": {
"name": "tmp-dir",
"mountPath": "/tmp"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment