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

Use long-lived certificates for the webhook component #1276

Merged
merged 2 commits into from
Jan 29, 2019

Conversation

munnerz
Copy link
Member

@munnerz munnerz commented Jan 29, 2019

What this PR does / why we need it:

In v0.6.0, the webhook component was installed using certificates that don't explicitly set a duration. This means that the new default of 90d will be used.

We haven't currently tested auto-rotation of certificates in the webhook component, and we may need to signal with a SIGHUP or similar to make it reload the cert (or just watch the file on disk).

This PR increases the lifetime of these component certificates, which should at least help mitigate the issue until v0.7 is released when we have a more complete patch ready.

Release note:

Increase x509 certificate duration from 90d to 1y for webhook component certificates

/kind bug
/milestone v0.6
/cc @DanielMorsing
/shrug

Signed-off-by: James Munnelly <james@munnelly.eu>
Signed-off-by: James Munnelly <james@munnelly.eu>
@jetstack-bot jetstack-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. labels Jan 29, 2019
@jetstack-bot jetstack-bot added this to the v0.6 milestone Jan 29, 2019
@jetstack-bot jetstack-bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. ¯\_(ツ)_/¯ size/M Denotes a PR that changes 30-99 lines, ignoring generated files. area/deploy Indicates a PR modifies deployment configuration labels Jan 29, 2019
@jetstack-bot
Copy link
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

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 29, 2019
@DanielMorsing
Copy link
Contributor

/lgtm

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 29, 2019
@jetstack-bot jetstack-bot merged commit 21f6604 into cert-manager:master Jan 29, 2019
jetstack-bot added a commit that referenced this pull request Jan 31, 2019
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/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/bug Categorizes issue or PR as related to a bug. 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/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.

None yet

3 participants