Skip to content
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

helm chart best practices #285

Closed
wants to merge 1 commit into from

Conversation

aramase
Copy link
Member

@aramase aramase commented Aug 11, 2020

Co-authored-by: Sean Nguyen sean.nguyen@rackspace.com

What this PR does / why we need it:
This PR is #240 with just the label changes. The crds are still kept in templates dir to support helm2 and helm3. In the future, we could move the crds to crds dir for helm3 and add templates/crds.yaml with

{{- range $path, $bytes := .Files.Glob "crds/*.yaml" }}
  {{ $.Files.Get $path }}
---
{{- end }}

This would then need to be wrapped in a installCRDs conditional check, that users can set to true if running using helm2.

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #226, Fixes Azure/secrets-store-csi-driver-provider-azure#121

Special notes for your reviewer:

  • Tested upgrade
    • Installed charts using charts/secrets-store-csi-driver
    • Upgraded using manifest_staging/charts/secrets-store-csi-driver

Thank you @snooyen for the changes in PR #240 🎉

Co-authored-by: Sean Nguyen <sean.nguyen@rackspace.com>
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 11, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aramase

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

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 11, 2020
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 11, 2020
@aramase
Copy link
Member Author

aramase commented Aug 11, 2020

/retest

@aramase
Copy link
Member Author

aramase commented Aug 13, 2020

Closing this in favor of #240

/close

@k8s-ci-robot
Copy link
Contributor

@aramase: Closed this PR.

In response to this:

Closing this in favor of #240

/close

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.

@aramase aramase deleted the helm-revision branch August 13, 2020 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove revision and heritage labels from helm charts Pods restart every time the chart is deployed
2 participants