Skip to content

Generate and publish deployment manifests for cert-manager - #276

Merged
jetstack-ci-bot merged 4 commits into
cert-manager:masterfrom
munnerz:gen-deploy
Jan 25, 2018
Merged

jetstack-ci-bot merged 4 commits into
cert-manager:masterfrom
munnerz:gen-deploy

Conversation

@munnerz

@munnerz munnerz commented Jan 24, 2018 •

Copy link
Copy Markdown
Member

What this PR does / why we need it:

This adds scripts to automatically generate deployment manifests for cert-manager.
This allows us to keep the helm chart as the authoritative source of truth, but still publish an alternate deployment mechanism.

If the Helm chart changes, or any of the values files change, the developer submitting the PR will need to run ./hack/update-deploy-gen.sh. CI automatically verifies these files are up to date.

As a result of this, and due to helm/helm#3377, I have removed support for TPR creation in the Helm chart based on server capabilities. CRDs have been present since 1.7, and we do not test against 1.6 so I propose we drop support unless the user configures it manually. Besides, there's currently no way to disable the ClusterIssuer control loop meaning cert-manager doesn't run on 1.6 anyway (#201).

Which issue this PR fixes:

Fixes #272

Release note:

Provide static deployment manifests as an alternative to a Helm chart based deployment

/cc @f-f @whereisaaron

@jetstack-bot jetstack-bot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Jan 24, 2018
@jetstack-bot

Copy link
Copy Markdown
Contributor

@munnerz: GitHub didn't allow me to request PR reviews from the following users: f-f, whereisaaron.

Note that only jetstack members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

What this PR does / why we need it:

This adds scripts to automatically generate deployment manifests for cert-manager.
This allows us to keep the helm chart as the authoritative source of truth, but still publish an alternate deployment mechanism.

If the Helm chart changes, or any of the values files change, the developer submitting the PR will need to run ./hack/update-deploy-gen.sh. CI automatically verifies these files are up to date.

As a result of this, and due to helm/helm#3377, I have removed support for TPR creation in the Helm chart based on server capabilities. CRDs have been present since 1.7, and we do not test against 1.6 so I propose we drop support unless the user configures it manually. Besides, there's currently no way to disable the ClusterIssuer control loop meaning cert-manager doesn't run on 1.6 anyway (#201).

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Fixes #272

Release note:

Provide static deployment manifests as an alternative to a Helm chart based deployment

/cc @f-f @whereisaaron

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 size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 24, 2018
@munnerz

munnerz commented Jan 25, 2018

Copy link
Copy Markdown
Member Author

/test all

@f-f

f-f commented Jan 25, 2018

Copy link
Copy Markdown

Looks very good to me 👍

Not sure if the bot will allow me to do this, but:
/approve

@munnerz munnerz added the lgtm Indicates that a PR is ready to be merged. label Jan 25, 2018
@jetstack-ci-bot

Copy link
Copy Markdown
Contributor

/lgtm cancel //PR changed after LGTM, removing LGTM. @munnerz

@jetstack-ci-bot jetstack-ci-bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 25, 2018
@munnerz munnerz added the lgtm Indicates that a PR is ready to be merged. label Jan 25, 2018
@munnerz

munnerz commented Jan 25, 2018

Copy link
Copy Markdown
Member Author

Updated to use fullnameOverride=cert-manager, and to fix namespace in RBAC rule to be 'default'.

@munnerz munnerz added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 25, 2018
@jetstack-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: f-f

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

@jetstack-ci-bot

Copy link
Copy Markdown
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@munnerz

munnerz commented Jan 25, 2018

Copy link
Copy Markdown
Member Author

/retest

@jetstack-ci-bot

Copy link
Copy Markdown
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@jetstack-ci-bot

Copy link
Copy Markdown
Contributor

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here.

@munnerz
munnerz deleted the gen-deploy branch January 29, 2019 23:41
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. 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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide simpler deployment method than Helm

4 participants