projectcapsule/capsule

Capsule version data are not correct

prometherion opened this issue · 0 comments

Bug description

The version information upon the start of the operator is wrong, or missing.

How to reproduce

Run capsule and extract the first lines

{"level":"info","ts":"2024-01-23T19:48:12.764Z","logger":"setup","msg":"Capsule Version v0.5.0 74d3ac5dirty"}
{"level":"info","ts":"2024-01-23T19:48:12.764Z","logger":"setup","msg":"Build from: https://github.com/projectcapsule/capsule"}
{"level":"info","ts":"2024-01-23T19:48:12.764Z","logger":"setup","msg":"Build date: "}
{"level":"info","ts":"2024-01-23T19:48:12.764Z","logger":"setup","msg":"Go Version: go1.20.11"}
{"level":"info","ts":"2024-01-23T19:48:12.764Z","logger":"setup","msg":"Go OS/Arch: linux/amd64"}

Expected behavior

Date and status of git should be correct.

Logs

N.R.

Additional context

  • Capsule version: v0.5.0
  • Helm Chart version: N.R.
  • Kubernetes version: N.R.