kedacore / charts

Helm charts for KEDA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`nano` is not a valid `timeEncoding` configuration for `operator` and `webhooks`

DaazKu opened this issue · comments

The README state that we can use nano as a valid time encoding for:

  • operator ->
    | `logging.operator.timeEncoding` | string | `"rfc3339"` | Logging time encoding for KEDA Operator. allowed values are `epoch`, `millis`, `nano`, `iso8601`, `rfc3339` or `rfc3339nano` |
  • webhook ->
    | `logging.webhooks.timeEncoding` | string | `"rfc3339"` | Logging time encoding for KEDA Operator. allowed values are `epoch`, `millis`, `nano`, `iso8601`, `rfc3339` or `rfc3339nano` |
    (note that it says operator. C/P issue)

Trying to do so results in the following error:

2023-11-27T16:32:51.521594883Z invalid argument "nano" for "--zap-time-encoding" flag: invalid time-encoding value "nano"

Steps to Reproduce the Problem

Use the following to configure the chart:

logging:
  operator:
    level: error
    format: json
    timeEncoding: nano
  metricServer:
    level: 0
    stderrthreshold: ERROR
  webhooks:
    level: error
    format: json
    timeEncoding: nano

Specifications

  • KEDA Version: 2.12.0