I have a helm chart and the helm chart is only installed when the pre-install hooks is succeeded. When the job fails, the error is
Error: failed pre-install: job failed: BackoffLimitExceeded
Is there any way i can print my custom message that pops up so that i do not have to go inside the job to find the cause of failed helm chart installation?
As mentioned in comments:
There is no way to print custom messages in HELM. A strategy that could be used is send the application logs to stdout and them verify them with
kubectl logscommand.