Skip to content

feat(bootstrap): Enable ACME#181

Merged
NautiluX merged 2 commits intomainfrom
acme
Feb 9, 2026
Merged

feat(bootstrap): Enable ACME#181
NautiluX merged 2 commits intomainfrom
acme

Conversation

@NautiluX
Copy link
Member

@NautiluX NautiluX commented Feb 6, 2026

  • Enables DNS01 challenge for ingress
  • Changes order to write configure-k0s script before installing Codesphere
  • Runs configure-k0s script after installation (enable installation in one command)
  • Allows passing skip steps and hash to bootstrap command

@NautiluX NautiluX requested a review from Copilot February 6, 2026 08:52
Copy link

Copilot AI left a comment

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 enables ACME certificate management for DNS01 challenges in the GCP bootstrapper, allowing automated certificate provisioning via Let's Encrypt. The changes update the installation workflow to configure k0s before installing Codesphere and support additional installation parameters.

Changes:

  • Added ACME configuration with DNS01 challenge support using Google Cloud DNS
  • Restructured bootstrap flow to generate k0s config script before Codesphere installation
  • Enhanced CLI to accept installation hash and skip steps parameters

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
internal/installer/files/config_yaml.go Added certificate issuer configuration structs and override map for custom certificate settings
internal/bootstrap/gcp/mocks.go Updated mock methods to support multiple IAM roles and service account impersonation
internal/bootstrap/gcp/gcp_test.go Added tests for package validation and updated IAM role assignments with DNS project support
internal/bootstrap/gcp/gcp_client.go Implemented multi-role IAM assignment and service account impersonation for cross-project DNS access
internal/bootstrap/gcp/gcp.go Added ACME configuration, package validation, and reordered bootstrap steps to run k0s config after installation
cli/cmd/bootstrap_gcp.go Added CLI flags for DNS project service account, install hash, and skip steps

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

Copy link
Member

@siherrmann siherrmann left a comment

Choose a reason for hiding this comment

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

Just one comment/nit/question, else approved.

* Enables DNS01 challenge for ingress
* Changes order to write configure-k0s script before installing
  Codesphere
* Runs configure-k0s script after installation (enable installation in
  one command)
* Allows passing skip steps and hash to bootstrap command
Signed-off-by: NautiluX <2600004+NautiluX@users.noreply.github.com>
@NautiluX NautiluX merged commit bc0e6f1 into main Feb 9, 2026
1 check passed
@NautiluX NautiluX deleted the acme branch February 9, 2026 16:42
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.

2 participants