Skip to content

Conversation

@liggitt
Copy link
Member

@liggitt liggitt commented Oct 30, 2018

What type of PR is this?
/kind bug

What this PR does / why we need it:
The tests to ensure a deployment strategy can be switched from rollback to recreate by kubectl apply without explicitly clearing the rollback-related fields depends on the retainKeys merge strategy.

As part of switching to apps/v1, the tests that ensure that capability failed, and it was discovered the patch strategy was not set on apps deployments as expected.

Special notes for your reviewer:
Extracted from #70370 for easier review

xref #50296

`kubectl apply` can now change a deployment strategy from rollout to recreate without explicitly clearing the rollout-related fields

/assign @kow3ns

@k8s-ci-robot k8s-ci-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Oct 30, 2018
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Oct 30, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liggitt

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 30, 2018
@k8s-ci-robot k8s-ci-robot requested review from deads2k and piosz October 30, 2018 15:52
@k8s-ci-robot k8s-ci-robot added sig/architecture Categorizes an issue or PR as relevant to SIG Architecture. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Oct 30, 2018
@liggitt liggitt added sig/apps Categorizes an issue or PR as relevant to SIG Apps. and removed sig/architecture Categorizes an issue or PR as relevant to SIG Architecture. labels Oct 30, 2018
@liggitt
Copy link
Member Author

liggitt commented Oct 30, 2018

/assign @mengqiy

@mengqiy
Copy link
Member

mengqiy commented Oct 31, 2018

/lgtm
Closes #60340

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 31, 2018
@k8s-ci-robot k8s-ci-robot merged commit 797f5af into kubernetes:master Oct 31, 2018
@liggitt liggitt deleted the retain-keys branch November 1, 2018 04:49
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", 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. sig/apps Categorizes an issue or PR as relevant to SIG Apps. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants