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

fix(platform): compatible webhook's certificate and private key #891

Merged

Conversation

wangao1236
Copy link
Contributor

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind api-change
/kind bug
/kind cleanup
/kind deprecation
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #886

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@wangao1236 wangao1236 force-pushed the fix-old-clusters-webhook-cert-and-key branch from bb0b4fc to 879ccb0 Compare November 8, 2020 03:28
@@ -58,11 +59,35 @@ type Option struct {
IsGlobalCluster bool
}

// WebhookCertAndKeyExist checks whether the certificate and private key exist,
// for compatibility with old version clusters' webhook certificates and private keys.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please highlight this is involved for tke1.5 and will get removed from tke1.6 or future

@wangao1236 wangao1236 force-pushed the fix-old-clusters-webhook-cert-and-key branch from 879ccb0 to 7305c22 Compare November 10, 2020 02:04
@wangao1236 wangao1236 changed the title fix(platform): compatible webhook's certificate and private key. fix(platform): compatible webhook's certificate and private key Nov 10, 2020
@huxiaoliang huxiaoliang merged commit 1fffb2f into tkestack:master Nov 10, 2020
@wangao1236 wangao1236 deleted the fix-old-clusters-webhook-cert-and-key branch November 17, 2020 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

web hook crt and key should handle upgrade case
2 participants