Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Conversation

@fabianlindfors
Copy link
Contributor

All Submissions:

  • Have you signed our CLA?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Previously the operator assumed that there would be a single newline at the end of the certificate, otherwise the combined certificate-key would not be a valid PEM file. This PR improves the handling of newlines by always trimming them before combining the certificate and key with a single newline in between. This should result in a valid PEM file no matter how the user formatted their certificate and key.

Copy link
Contributor

@rodrigovalin rodrigovalin left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@chatton chatton left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@fabianlindfors fabianlindfors merged commit 34e703a into master Aug 5, 2020
@fabianlindfors fabianlindfors deleted the CLOUDP-68630_cert_newline branch August 5, 2020 09:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants