Skip to content

Update Secrets instead of replacing to preserve additional metadata - #221

Merged
jetstack-ci-bot merged 1 commit into
cert-manager:masterfrom
munnerz:update-secret
Dec 2, 2017
Merged

jetstack-ci-bot merged 1 commit into
cert-manager:masterfrom
munnerz:update-secret

Conversation

@munnerz

@munnerz munnerz commented Dec 1, 2017 •

Copy link
Copy Markdown
Member

What this PR does / why we need it:

Previously we always overwrite the existing certificate if it already existed. Some users have requested a way to automatically create the target secrets using a helm chart, so that all artifacts can be cleaned up cleanly upon helm delete.

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

Fixes #192

Release note:

Update existing secrets instead of replacing in order to preserve annotations/labels

@jetstack-bot jetstack-bot added 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. labels Dec 1, 2017
@jetstack-ci-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
We suggest the following additional approver: munnerz

Assign the PR to them by writing /assign @munnerz in a comment when ready.

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

@munnerz munnerz added this to the v0.2 milestone Dec 1, 2017
@munnerz munnerz added cherrypick-candidate 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. labels Dec 1, 2017
@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.

@jetstack-ci-bot
jetstack-ci-bot merged commit ebec818 into cert-manager:master Dec 2, 2017
jetstack-ci-bot added a commit that referenced this pull request Jan 15, 2018
#239-#240-#216-upstream-release-0.2

Automatic merge from submit-queue.

Automated cherry pick of #221 #237 #239 #240 #216

Cherry pick of #221 #237 #239 #240 #216 on release-0.2.

#221: Update Secrets instead of replacing to preserve additional
#237: Fix panic when ACME server returns a genuine error
#239: Update dates in generated license headers
#240: Fix typo in acme-http-validation.md
#216: Use cert-manager installed via helm in e2e tests
@jetstack-ci-bot

Copy link
Copy Markdown
Contributor

Commit found in the "release-0.2" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked.

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/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.

Existing Secrets should be updated not replaced

5 participants