Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the logTimeFormat value for time formatting in the KEDA Operator #41

Merged
merged 2 commits into from
Apr 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion keda/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Event-based autoscaler for workloads on Kubernetes

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.3.2
version: 1.4.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
1 change: 1 addition & 0 deletions keda/templates/12-keda-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ spec:
- keda
args:
- "--zap-level={{ .Values.logLevel }}"
- "--zap-time-encoding={{ .Values.logTimeFormat }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: WATCH_NAMESPACE
Expand Down
5 changes: 5 additions & 0 deletions keda/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ grpcTLSCertsSecret: ""
# default value: info
logLevel: info

## Logging time format for KEDA Controller
# allowed values: 'epoch', 'millis', 'nano', or 'iso8601'
# default value: epoch
logTimeFormat: epoch

## Logging level for Metrics Server
# allowed values: '0' for info, '4' for debug, or an integer value greater than 0, specified as string
# default value: 0
Expand Down