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

fix: Use HELM 3 best practices for CRDs #490

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ryanfaircloth
Copy link

@ryanfaircloth ryanfaircloth commented Jul 12, 2022

Change log description

Current logic uses helm2 style conditions for CRDs which may or may not be installed prior to use when included in a subchart or as part of CD. Simply removing the if condition from the CRD sync step in the make file allows the helm3 supported method of opt out --skip-crds

Purpose of the change

Implement CRD best practices for helm3

What the code does

Remove if/else logic as this is now built into helm3

How to verify it

On a new cluster manually install CRDs then install chart using --skip-crds flag (confirm working)
On a new cluster do not manuall install CRDs then install without flag and confirm working

@codecov
Copy link

codecov bot commented Jul 12, 2022

Codecov Report

Base: 85.12% // Head: 85.12% // No change to project coverage 👍

Coverage data is based on head (7fa62a3) compared to base (a4a345f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #490   +/-   ##
=======================================
  Coverage   85.12%   85.12%           
=======================================
  Files          12       12           
  Lines        1613     1613           
=======================================
  Hits         1373     1373           
  Misses        155      155           
  Partials       85       85           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Current logic uses helm2 style conditions for CRDs which may or may not be installed prior to use when included in a subchart or as part of CD. Simply removing the if condition from the CRD sync step in the make file allows the helm3 supported method of opt out ``--skip-crds``

Signed-off-by: Ryan Faircloth <[email protected]>
@ryanfaircloth
Copy link
Author

Note: Codecov is reporting a change in a file no present in the branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants