-
Notifications
You must be signed in to change notification settings - Fork 1.8k
cmd/helm-operator/main.go: add --metrics-addr flag #3440
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
Changes from all commits
ce24847
706d68e
79e3882
85989b9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| entries: | ||
| - description: > | ||
| Added `--metrics-addr` flag to helm operator to make it configurable, and | ||
| changed the default from `:8383` to `:8080` | ||
|
|
||
| kind: "change" | ||
|
|
||
| # Is this a breaking change? | ||
| breaking: true | ||
|
|
||
| migration: | ||
| header: Default helm operator metrics port changed | ||
| body: > | ||
| To continue using port 8383, specify `--metrics-addr=:8383` when you start the operator. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -87,9 +87,7 @@ spec: | |
| control-plane: controller-manager | ||
| spec: | ||
| containers: | ||
| - args: | ||
| - manager | ||
|
Comment on lines
-90
to
-91
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This removal is no directly related to this PR, but needs to happen to avoid problems running the operator in a cluster. This is an accidental carryover from Go operators that have a |
||
| image: {{ .Image }} | ||
| - image: {{ .Image }} | ||
| name: manager | ||
| resources: | ||
| limits: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WDYT about we improve it and describe where the
--metrics-addr=:8383need to be used (config/default, and config/manager/)?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I disagree for a few reasons:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Far enough.