-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Make TLS certificate management work for multiple OSs #48745
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
Co-authored-by: Utkarsh Singh <96516301+utkarsh-singh1@users.noreply.github.com>
Co-authored-by: Utkarsh Singh <96516301+utkarsh-singh1@users.noreply.github.com>
/label tide/merge-method-squash |
/retitle Make TLS certificate management work for multiple OSs |
kubectl get csr my-svc.my-namespace -o json | \ | ||
jq '.status.certificate = "'$(base64 ca-signed-server.pem | tr -d '\n')'"' | \ | ||
kubectl replace --raw /apis/certificates.k8s.io/v1/certificatesigningrequests/my-svc.my-namespace/status -f - |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bash
isn't commonly available on Windows
Description
TLS certificate management task assumes Linux-style base64 command
added a tabs for the Linux, macOS and Windows
Issue
#48586