Skip to content

Add installCRDs option to Helm chart - #2775

Merged
jetstack-bot merged 7 commits into
cert-manager:masterfrom
munnerz:helm-chart-crds
Apr 8, 2020
Merged

jetstack-bot merged 7 commits into
cert-manager:masterfrom
munnerz:helm-chart-crds

Conversation

@munnerz

@munnerz munnerz commented Apr 1, 2020

Copy link
Copy Markdown
Member

What this PR does / why we need it:

In order to support eventually building a 'helm-operator' based OLM plugin (for deploying cert-manager on OpenShift clusters), this PR adds an optional installCRDs option to the Helm chart.

This option defaults to false, but when enabled, CRDs will be installed along with the other cert-manager components. This also means that when the Helm chart is uninstalled, the CRDs will be deleted too (because we do not use the crd-install annotation due to helm/helm#7735).

It looks like VMWare have taken a similar approach in Velero to this too: vmware-tanzu/helm-charts#81

Special notes for your reviewer:

As noted, this option is disabled by default and we still ship the same 'static manifests' as before, so this should be a no-op change for users unless they choose to opt in.

Release note:

Add installCRDs option to Helm chart to enable managing CRDs as part of regular Helm chart

/area deploy
/kind feature

@jetstack-bot jetstack-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. area/deploy Indicates a PR modifies deployment configuration dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. kind/feature Categorizes issue or PR as related to a new feature. area/testing Issues relating to testing labels Apr 1, 2020
@jetstack-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: munnerz

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

The pull request process is described here

Details 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

@jetstack-bot jetstack-bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Apr 1, 2020
@jetstack-bot
jetstack-bot requested a review from JoshVanL April 1, 2020 12:20
@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 1, 2020
Comment thread deploy/crds/crd-certificates.yaml Resolved
@jetstack-bot jetstack-bot added dco-signoff: no Indicates that at least one commit in this pull request is missing the DCO sign-off message. and removed dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. labels Apr 1, 2020
@jetstack-bot jetstack-bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. and removed dco-signoff: no Indicates that at least one commit in this pull request is missing the DCO sign-off message. labels Apr 1, 2020
@munnerz
munnerz force-pushed the helm-chart-crds branch 4 times, most recently from 997ebfb to 01e572f Compare April 1, 2020 17:18
@jetstack-bot jetstack-bot added the area/acme Indicates a PR directly modifies the ACME Issuer code label Apr 1, 2020
Comment thread deploy/crds/README.md Resolved
@JoshVanL

JoshVanL commented Apr 5, 2020

Copy link
Copy Markdown
Contributor

/assign

Comment thread deploy/crds/crd-certificates.yaml Resolved
Comment thread deploy/crds/README.md Resolved
Comment thread deploy/crds/crd-clusterissuers.yaml Resolved
@munnerz munnerz added this to the v0.15 milestone Apr 6, 2020
@JoshVanL

JoshVanL commented Apr 6, 2020

Copy link
Copy Markdown
Contributor

Looks good to me, just the comment above ^

/unassign
/assign @munnerz

munnerz added 2 commits April 7, 2020 10:15
Signed-off-by: James Munnelly <[email protected]>
@munnerz

munnerz commented Apr 7, 2020

Copy link
Copy Markdown
Member Author

All addressed - back to you two!

/assign @JoshVanL
/assign @meyskens

Comment thread test/integration/framework/apiserver.go Resolved
@meyskens

meyskens commented Apr 7, 2020

Copy link
Copy Markdown
Contributor

Just one thing then LGTM :)

Signed-off-by: James Munnelly <[email protected]>
@munnerz

munnerz commented Apr 7, 2020

Copy link
Copy Markdown
Member Author

Done!

@meyskens

meyskens commented Apr 8, 2020

Copy link
Copy Markdown
Contributor

/lgtm

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. area/acme Indicates a PR directly modifies the ACME Issuer code area/deploy Indicates a PR modifies deployment configuration area/testing Issues relating to testing dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants