nais/hahaha

couldn't determine main container error not logged

Opened this issue · 0 comments

We had not set the app label to the same name as the main container for Pod (even though we maybe should have). See L#35 in pod.rs

This caused the reconciler to print an unhelpful error message: {"timestamp":"2023-10-23T11:39:03.874978Z","level":"WARN","message":"reconcile failed: reconciler for object Pod.v1./sample-job-9wj8s.sample failed","target":"hahaha"}

The error should probably be "propagated" upwards somehow, but i'm not familiar enough with rust to make it a simple fix for the time being.