kubectl patch deployment headlamp -n headlamp --type='strategic' -p '{
"spec": {
"template": {
"spec": {
"containers": [
{
"name": "headlamp",
"volumeMounts": [
{
"name": "lakehouse-plugin-vol",
"mountPath": "/headlamp/plugins/lakehouse-monitor/main.js",
"subPath": "main.js"
}
]
}
],
"volumes": [
{
"name": "lakehouse-plugin-vol",
"configMap": {
"name": "headlamp-lakehouse-plugin"
}
}
]
}
}
}
}'