Skip to content

Update Helm chart to follow newer best practice for helper functions - #232

Closed
whereisaaron wants to merge 1 commit into
cert-manager:masterfrom
whereisaaron:master
Closed

whereisaaron wants to merge 1 commit into
cert-manager:masterfrom
whereisaaron:master

Conversation

@whereisaaron

Copy link
Copy Markdown
Contributor

This updates the 'contrib' Helm chart to follow newer best practice for helper functions

  1. go template names are global and so must be prefixed with the chart name.
    https://docs.helm.sh/chart_template_guide/#declaring-and-using-templates-with-define-and-template

  2. The fullname template should avoid doubling up on the release/chart name
    https://github.com/kubernetes/helm/blob/7c79d1c76534074d5708eae2c5ef88ae044941db/pkg/chartutil/create.go#L237-L249

Function names are global and so must be prefixed
The fullname function should avoid doubling up on the release/chart name
@jetstack-bot

Copy link
Copy Markdown
Contributor

@whereisaaron: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

Details

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@jetstack-bot jetstack-bot added the do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. label Jan 4, 2018
@jetstack-bot

Copy link
Copy Markdown
Contributor

Hi @whereisaaron. Thanks for your PR.

I'm waiting for a jetstack member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@jetstack-bot jetstack-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 4, 2018
@jetstack-ci-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
We suggest the following additional approver: munnerz

Assign the PR to them by writing /assign @munnerz in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@unguiculus

Copy link
Copy Markdown
Contributor

This is already included in #229.

@whereisaaron

Copy link
Copy Markdown
Contributor Author

True @unguiculus! But this is a smaller scope change/PR. Less to review and/or discuss at length :-)

@jetstack-ci-bot

Copy link
Copy Markdown
Contributor

@whereisaaron PR needs rebase

@jetstack-ci-bot jetstack-ci-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 16, 2018
@munnerz

munnerz commented Jan 18, 2018

Copy link
Copy Markdown
Member

Thanks @whereisaaron - I'm going to close this now as #229 has merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants