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

✨ Enable verbosity control #251

Merged
merged 1 commit into from
May 17, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The defaulting here is new behvior, which should be documented in values.yaml and docs/users.md. Does not have to be done in this PR.

env:
- name: HELM_CONFIG_HOME
value: /tmp
Expand Down