Skip to content

Fix Debug Target

Ursa (9R) requested to merge ursa/debug into master

I attempted to use make debug against a bifrost during yesterday's fires and did not dig deep, but it failed with output:

Volume mounted at: "/var/data/bifrost"
"/root/.thornode"
"/etc/bifrost"
deployment.apps/bifrost scaled
error: Invalid JSON Patch
deployment.apps/bifrost scaled

In any case, I believe make debug should simply use the structure of the source deployment for all mounts. Earmark to just move the custom logic into scripts/debug.sh, prompt for the container to use image/mounts from, and remove the dangling script not referenced by a Makefile target.

Merge request reports