hashicorp / vault-secrets-operator

The Vault Secrets Operator (VSO) allows Pods to consume Vault secrets natively from Kubernetes Secrets.
https://hashicorp.com
Other
471 stars 102 forks source link

Log build info on startup #872

Closed benashz closed 3 months ago

benashz commented 3 months ago

Extends the runtime info log to include the build info of the running VSO instance:

{
  "level": "info",
  "ts": "2024-07-25T21:41:51Z",
  "logger": "setup",
  "msg": "Starting manager",
  "gitVersion": "v0.7.0-66-gfdf6a90",
  "gitCommit": "fdf6a9031e268644bdb9c07fb221fd46fc7474b4",
  "gitTreeState": "dirty",
  "buildDate": "2024-07-25T21:38:05+0000",
  "goVersion": "go1.22.5",
  "platform": "linux/amd64",
  "clientCachePersistenceModel": "direct-encrypted",
  "clientCacheSize": 10000,
  "backoffMultiplier": 1.5,
  "backoffMaxInterval": 60,
  "backoffMaxElapsedTime": 0,
  "backoffInitialInterval": 5,
  "backoffRandomizationFactor": 0.5,
  "globalTransformationOptions": "",
  "globalVaultAuthOptions": "allow-default-globals"
}