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

Support user provided encrypted keys #3651

Merged
merged 2 commits into from
Aug 26, 2020

Conversation

barkbay
Copy link
Contributor

@barkbay barkbay commented Aug 21, 2020

Fixes #3650

I chose to return an error instead of nil to make it explicit that the key is encrypted and let the caller decides what is the best to manage this situation.

@barkbay barkbay added >bug Something isn't working v1.3.0 labels Aug 21, 2020
Copy link
Contributor

@charith-elastic charith-elastic left a comment

Choose a reason for hiding this comment

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

LGTM

pkg/controller/common/certificates/secret.go Outdated Show resolved Hide resolved
@barkbay barkbay merged commit d24e527 into elastic:master Aug 26, 2020
@barkbay barkbay deleted the support-enc-private-keys branch August 26, 2020 06:51
barkbay added a commit to barkbay/cloud-on-k8s that referenced this pull request Sep 2, 2020
* Do not attempt to validate encrypted keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Something isn't working v1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for encrypted private keys
2 participants