Skip to content

Commit

Permalink
Merge pull request #251 from francostellari/verbosity
Browse files Browse the repository at this point in the history
✨ Enable verbosity control
  • Loading branch information
pdettori authored May 17, 2024
2 parents 610bb5d + a1dcaba commit 2b02480
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ externalPort: "9443"
isOpenShift: "false"
installPostgreSQL: true
hostContainer: kubeflex-control-plane
verbosity: 0
verbosity: 2 # must be > 0
3 changes: 2 additions & 1 deletion config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
- "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/"
- "--logtostderr=true"
- "--v={{.Values.verbosity}}"
- "--v=0"
ports:
- containerPort: 8443
protocol: TCP
Expand All @@ -63,6 +63,7 @@ spec:
- "--health-probe-bind-address=:8081"
- "--metrics-bind-address=127.0.0.1:8080"
- "--leader-elect"
- "--zap-log-level={{max (.Values.verbosity | default 2 | int) 1}}"
env:
- name: HELM_CONFIG_HOME
value: /tmp
Expand Down

0 comments on commit 2b02480

Please sign in to comment.