-
Notifications
You must be signed in to change notification settings - Fork 14k
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
chore(helm): Use template comments for the chart license header #23726
Conversation
@craig-rueda should I bump the version if there are no functional changes? |
Yep, looks like the linter is complaining |
d1f8ce9
to
4e487e6
Compare
@craig-rueda Could you please have a look again? |
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
Looks fine as long as the license check step is happy. Seems like it skipped for this PR for some reason. Any ideas why? |
@craig-rueda There are two license checks: the first passed, the second was skipped. But as I can see the second check was skipped in other PRs as well. |
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
SUMMARY
The PR changes comment type for license headers in the Helm chart template files.
The PR does not change any functionality of the chart.
According to Comments (YAML Comments vs. Template Comments):
Since there is no value in seeing license header during templates debug, it's a good idea to use Template comments instead of YAML comments for license headers.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before
After
$ helm template superset helm/superset --- # Source: superset/templates/service.yaml apiVersion: v1 kind: Service metadata: name: superset namespace: default labels: app: superset chart: superset-0.9.2 release: superset heritage: Helm spec: type: ClusterIP ports: - port: 8088 targetPort: http protocol: TCP name: http selector: app: superset release: superset
TESTING INSTRUCTIONS
Check that the following command doesn't print any license headers.
ADDITIONAL INFORMATION