-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add chart Debug method #138
Conversation
Images built for PR #138:
Helm Debug Values: image:
pullPolicy: Always
registry: ghcr.io
repository: rancher/prometheus-federator
tag: pr-138-36b409d |
ad7477f
to
b1fd904
Compare
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.
LGTM, just some stylistic things to consider
6be4a22
to
d849393
Compare
pkg/debug/chart.go
Outdated
var ( | ||
chartOnly bool | ||
) |
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.
This is a tip, not really review feedback, but you can actually define this variable in the ChartDebugCommand
function too and have it work the same while making sure no one down the line wants to depend on or modify this variable
Per title, this PR adds method to debug the embedded chart inside of PromFed.
It's a lot easier to exec into the pod and run:
Which will save the chart to the
${CWD}/.debug
folder.