Skip to content

Add unit test to verify pre-shared cert retention#111

Merged
nicksardo merged 1 commit intokubernetes:masterfrom
MrHohn:pre-shared-secret-update-test
Jan 24, 2018
Merged

Add unit test to verify pre-shared cert retention#111
nicksardo merged 1 commit intokubernetes:masterfrom
MrHohn:pre-shared-secret-update-test

Conversation

@MrHohn
Copy link
Copy Markdown
Member

@MrHohn MrHohn commented Jan 19, 2018

There was a bug when transitioning from a pre-shared certificate to a secret-based certificate. The controller deletes the pre-shared certificate when it really should ignore it (quote kubernetes/ingress-nginx#639). This PR adds an unit test for that.

Ref https://docs.google.com/document/d/1E2ufxZGujFCYKYOsvBjb4VMNjBy8CM-MMycoT_UVwIs/edit#heading=h.djafujeypqcp.

/assign @nicksardo @rramkumar1

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

@MrHohn: GitHub didn't allow me to assign the following users: rramkumar1.

Note that only kubernetes members and repo collaborators can be assigned.

Details

In response to this:

There was a bug when transitioning from a pre-shared certificate to a secret-based certificate. The controller deletes the pre-shared certificate when it really should ignore it (quote kubernetes/ingress-nginx#639). This PR adds an unit test for that.

Ref https://docs.google.com/document/d/1E2ufxZGujFCYKYOsvBjb4VMNjBy8CM-MMycoT_UVwIs/edit#heading=h.djafujeypqcp.

/assign @nicksardo @rramkumar1

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.

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jan 19, 2018
@nicksardo
Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 24, 2018
@nicksardo nicksardo merged commit 14508bd into kubernetes:master Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. 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.

3 participants