Created
July 22, 2021 11:31
-
-
Save ojacques/86cb2f4209d138bce5ac5fd50ea0bd66 to your computer and use it in GitHub Desktop.
Encode GitHub App key PEM for Kubernetes use
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This CLI will convert a PEM private key from a GitHub app, so that it can be used in Jenkins, to eventually be injected in K8s values file | |
``` | |
sed ':a;N;$!ba;s/\n/\\\\\\\\n/g' certificate.private-key.pem | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment