Skip to content

Improve mkcert fallback handling in Makefile#4076

Open
tobybellwood wants to merge 1 commit into
mainfrom
testing/mkcert-fallback
Open

Improve mkcert fallback handling in Makefile#4076
tobybellwood wants to merge 1 commit into
mainfrom
testing/mkcert-fallback

Conversation

@tobybellwood

Copy link
Copy Markdown
Contributor

Enhance the handling of mkcert in the Makefile to ensure a fallback mechanism is in place when mkcert is not available. This change addresses potential issues with certificate generation by checking for mkcert's existence before attempting to use it.

Co-authored-by: Copilot <copilot@github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the robustness of the local k3d charts checkout flow by making certificate copying resilient when mkcert isn’t installed, falling back to the repo’s locally generated CA files.

Changes:

  • Add a mkcert existence check before calling mkcert -CAROOT during k3d/checkout-charts.
  • Ensure the Makefile falls back to local-dev/certificates when mkcert is unavailable (or produces no CAROOT).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants