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

feat: Install pinned version rather than latest tag #27

Conversation

mkilchhofer
Copy link
Contributor

@mkilchhofer mkilchhofer commented Mar 10, 2023

There was a mismatch between badges (AppVersion: 1.9.8) and version installed (latest tag).

While I fixed this, I documented every helm parameter via the required comments above each value. Let me know if I should split it into multiple PRs.

Resolves #23

@mkilchhofer mkilchhofer force-pushed the feature/fixed_version_and_values_documentation branch 3 times, most recently from 12dba1e to a718255 Compare March 10, 2023 22:12
Comment on lines -44 to -50
namespaceSelector: {}
## Default: scrape .Release.Namespace only
## To scrape all, use the following:
## namespaceSelector:
## any: true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed namespaceSelector from values, as template does not honor this.

scrapeInterval: 30s
# honorLabels: true
targetLabels: []
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed targetLabels from values, as template does not honor this.

@ndallavalentina
Copy link
Contributor

ndallavalentina commented Mar 13, 2023

nice work. Btw I opened this ticket a few days ago: #23
I've got a suggestion to add to your work. Probably we should remove any "default" env variable and let the people/engineer decide with valuesinline what set like example this one https://github.com/opencost/opencost-helm-chart/blob/main/charts/opencost/templates/deployment.yaml#L65 . What do you think?

@sntxrr sntxrr added the enhancement New feature or request label Mar 13, 2023
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
@mkilchhofer mkilchhofer force-pushed the feature/fixed_version_and_values_documentation branch from a718255 to 59ef8c4 Compare March 13, 2023 23:20
@mkilchhofer
Copy link
Contributor Author

I've got a suggestion to add to your work. Probably we should remove any "default" env variable and let the people/engineer decide with valuesinline what set like example this one https://github.com/opencost/opencost-helm-chart/blob/main/charts/opencost/templates/deployment.yaml#L65 . What do you think?

Yeah this can be discussed in further PRs. I have several additional changes I'd like to propose but I will do that in a different PR. ;) In my day-to-day job we have a Code of conduct where we should only file the changes that are required to a specific feature. :-)

Signed-off-by: Tony Scott <toscott@users.noreply.github.com>
Copy link
Collaborator

@toscott toscott left a comment

Choose a reason for hiding this comment

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

Looks good @mkilchhofer - Thanks for the contribution!

@toscott toscott merged commit 66bc827 into opencost:main Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helm Chart image versioned with opencost released image
4 participants