Skip to content

Commit

Permalink
Address feedback items
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Ballman <[email protected]>
  • Loading branch information
aballman committed Nov 28, 2023
1 parent 0a52413 commit 2acdf79
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
5 changes: 4 additions & 1 deletion http-add-on/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ their default values.
| `logging.interceptor.format` | string | `"console"` | Logging format for KEDA http-add-on Interceptor. allowed values: `json` or `console` |
| `logging.interceptor.level` | string | `"info"` | Logging level for KEDA http-add-on Interceptor. allowed values: `debug`, `info`, `error`, or an integer value greater than 0, specified as string |
| `logging.interceptor.timeEncoding` | string | `"rfc3339"` | Logging time encoding for KEDA http-add-on Interceptor. allowed values are `epoch`, `millis`, `nano`, `iso8601`, `rfc3339` or `rfc3339nano` |
| `logging.operator.level` | int | `0` | Logging level for Metrics Server. allowed values: `0` for info, `4` for debug, or an integer value greater than 0 |
| `logging.operator.format` | string | `"console"` | Logging format for KEDA http-add-on operator. allowed values: `json` or `console` |
| `logging.operator.level` | string | `"info"` | Logging level for KEDA http-add-on operator. allowed values: `debug`, `info`, `error`, or an integer value greater than 0, specified as string |
| `logging.operator.rbacProxy.level` | int | `10` | Logging level for KEDA http-add-on operator rbac proxy allowed values: `0` for info, `4` for debug, or an integer value greater than 0 |
| `logging.operator.timeEncoding` | string | `"rfc3339"` | Logging time encoding for KEDA http-add-on operator. allowed values are `epoch`, `millis`, `nano`, `iso8601`, `rfc3339` or `rfc3339nano` |
| `logging.scaler.format` | string | `"console"` | Logging format for KEDA http-add-on Scaler. allowed values: `json` or `console` |
| `logging.scaler.level` | string | `"info"` | Logging level for KEDA http-add-on Scaler. allowed values: `debug`, `info`, `error`, or an integer value greater than 0, specified as string |
| `logging.scaler.timeEncoding` | string | `"rfc3339"` | Logging time encoding for KEDA http-add-on Scaler. allowed values are `epoch`, `millis`, `nano`, `iso8601`, `rfc3339` or `rfc3339nano` |
Expand Down
5 changes: 4 additions & 1 deletion http-add-on/templates/operator/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- --secure-listen-address=0.0.0.0:{{ .Values.operator.port | default 8443 }}
- --upstream=http://127.0.0.1:8080/
- --logtostderr=true
- --v={{ .Values.logging.operator.level }}
- --v={{ .Values.logging.operator.rbacProxy.level }}
image: "{{ .Values.images.kubeRbacProxy.name }}:{{ .Values.images.kubeRbacProxy.tag }}"
resources:
limits:
Expand All @@ -39,6 +39,9 @@ spec:
- args:
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
- --zap-log-level={{ .Values.logging.operator.level }}
- --zap-time-encoding={{ .Values.logging.operator.timeEncoding }}
- --zap-encoder={{ .Values.logging.operator.format }}
image: "{{ .Values.images.operator }}:{{ .Values.images.tag | default .Chart.AppVersion }}"
imagePullPolicy: '{{ .Values.operator.pullPolicy | default "Always" }}'
name: "{{ .Chart.Name }}-operator"
Expand Down
17 changes: 14 additions & 3 deletions http-add-on/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,20 @@ crds:

logging:
operator:
# -- Logging level for Metrics Server.
# allowed values: `0` for info, `4` for debug, or an integer value greater than 0
level: 0
# -- Logging level for KEDA http-add-on operator.
# allowed values: `debug`, `info`, `error`, or an integer value greater than 0, specified as string
level: info
# -- Logging format for KEDA http-add-on operator.
# allowed values: `json` or `console`
format: console
# -- Logging time encoding for KEDA http-add-on operator.
# allowed values are `epoch`, `millis`, `nano`, `iso8601`, `rfc3339` or `rfc3339nano`
timeEncoding: rfc3339

rbacProxy:
# -- Logging level for KEDA http-add-on operator rbac proxy
# allowed values: `0` for info, `4` for debug, or an integer value greater than 0
level: 10
scaler:
# -- Logging level for KEDA http-add-on Scaler.
# allowed values: `debug`, `info`, `error`, or an integer value greater than 0, specified as string
Expand Down

0 comments on commit 2acdf79

Please sign in to comment.