-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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(helm): allows users to define an existing secret for tokens #2587
feat(helm): allows users to define an existing secret for tokens #2587
Conversation
Signed-off-by: cebidhem <cebidhem@pm.me>
Thanks! @krol3 Could you review this PR? |
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.
Hi @cebidhem ! Thank you for your contribution, I suggestion about the version. It's a small change
Hey @krol3, I can't see the suggestion in this PR thread. Would you want me to bump only the fix version ? If so, I'd argue that it adds a new feature to the chart, and that would be a good reason to bump the minor version imho. |
HI @krol3 , Do you think you'll have a chance to do the review today ? see my previous comment, if you left any suggestion/comment on the code, I can't see it in the code UI nor the comment thread. It's kind of a blocker for us to start the implementation with the chart. Thank you for your time |
Signed-off-by: cebidhem <cebidhem@pm.me>
Thanks for the review @krol3! I will let you resolve the conversations as you're the codeowner when you'll be happy with it. |
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 Thank you @cebidhem for the contribution
Signed-off-by: cebidhem cebidhem@pm.me
Description
This will allow the users of the Helm chart to define an existing secret containing the env variables
GITHUB_TOKEN
TRIVY_TOKEN
TRIVY_USERNAME
TRIVY_PASSWORD
as it is quite common for us to use external tools for creating secrets (could be external-secret or something else).This would allow us to avoid putting tokens in a git repo.
I haven't seen a helm doc generator - but it's my very first PR here so I may have missed it - but I added it manually in the README.md of the chart.
I bumped the
appVersion
as it was quite old. Let me know if you'd rather do it in a separate PR.I also bumped the Chart
version
, because I haven't seen a job under ci/ doing it. Let me know if it was wrong.I tested locally with
helm template
, again let me know if I should add anything else.Related issues
Checklist