-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Standardize helper comments and names (prefix all helper names with stackstorm-ha) #272
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pull-request-size
bot
added
the
size/L
PR that changes 100-499 lines. Requires some effort to review.
label
Dec 2, 2021
cognifloyd
commented
Dec 2, 2021
cognifloyd
changed the title
Misc helpers cleanups
Standardize helper comments and names (prefix all helper names with stackstorm-ha)
Dec 2, 2021
cognifloyd
force-pushed
the
cleanup-helpers
branch
from
December 2, 2021 17:25
287a495
to
e7ae7bf
Compare
ericreeves
approved these changes
Dec 2, 2021
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.
Best practices are a good thing. This helps bring clarity and specificity to chart values and defines.
cognifloyd
force-pushed
the
cleanup-helpers
branch
from
December 3, 2021 21:45
3ce8645
to
e96e982
Compare
cognifloyd
force-pushed
the
cleanup-helpers
branch
from
December 21, 2021 03:46
e96e982
to
82497c6
Compare
I was concerned that we might be explicitly overriding a template from a subchart. I just validated that all of our subcharts do not define these templates, so it is safe to prefix them.
cognifloyd
force-pushed
the
cleanup-helpers
branch
from
December 30, 2021 19:16
82497c6
to
9c09243
Compare
arm4b
approved these changes
Jan 12, 2022
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.
Looks good 👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This standardizes the template helpers to follow Helm's documented "Best Practices":
https://helm.sh/docs/chart_best_practices/templates/#comments-yaml-comments-vs-template-comments
https://helm.sh/docs/chart_best_practices/templates/#names-of-defined-templates