Project information is not included in the instance metadata, therefore this exposes a separate key _GCP_PROJECT_METADATA with project info, if one is found
Testing
Deploy a chalked image to GCP and check that project metadata is populated
@miki725 we need to mock /etc/resolv.conf not sure what the best way is to go about this? I just modified a file in place to make the test pass but feel free to change as you see fit
CHANGELOG.md
if necessaryIssue
Additional improvement over https://github.com/crashappsec/chalk/issues/298
Description
Project information is not included in the instance metadata, therefore this exposes a separate key
_GCP_PROJECT_METADATA
with project info, if one is foundTesting
Deploy a chalked image to GCP and check that project metadata is populated