Skip to content

test(e2e): add ENABLE_SECURE_TLS_BOOTSTRAPPING to E2E test config#8087

Merged
cameronmeissner merged 3 commits intomainfrom
cameissner/stls/abe2e-bootstrapping-mode-config
Mar 12, 2026
Merged

test(e2e): add ENABLE_SECURE_TLS_BOOTSTRAPPING to E2E test config#8087
cameronmeissner merged 3 commits intomainfrom
cameissner/stls/abe2e-bootstrapping-mode-config

Conversation

@cameronmeissner
Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

adds the ability to specify whether secure TLS bootstrapping should be used within AgentBaker E2E testing - this allows partners who are running these tests in subscriptions where secure TLS bootstrapping can't be enabled to fall back to the standard bootstrap token-based bootstrapping mode if needed

Which issue(s) this PR fixes:

Fixes #

Copilot AI review requested due to automatic review settings March 12, 2026 19:25
@cameronmeissner cameronmeissner changed the title test: add ENABLE_SECURE_TLS_BOOTSTRAPPING to E2E test config test(e2e): add ENABLE_SECURE_TLS_BOOTSTRAPPING to E2E test config Mar 12, 2026
Copy link
Copy Markdown
Contributor

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

Adds an E2E configuration switch to control whether secure TLS bootstrapping is enabled during node bootstrapping, allowing test runs to fall back to bootstrap-token mode in environments where secure TLS bootstrapping can’t be enabled.

Changes:

  • Add ENABLE_SECURE_TLS_BOOTSTRAPPING to the E2E env-based configuration model.
  • Gate SecureTLSBootstrappingConfig.Enabled in e2e node bootstrapping config based on the new config flag (and VHD support).
  • Plumb a pipeline script variable intended to control this behavior in CI.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
e2e/node_config.go Uses E2E config flag to decide whether secure TLS bootstrapping is enabled (still respecting VHD support).
e2e/config/config.go Adds EnableSecureTLSBootstrapping env var-backed config field.
.pipelines/scripts/e2e_run.sh Introduces an ENABLE_SECURE_TLS_BOOTSTRAPPING variable intended for CI runs.

@cameronmeissner cameronmeissner merged commit 468b235 into main Mar 12, 2026
21 of 28 checks passed
@cameronmeissner cameronmeissner deleted the cameissner/stls/abe2e-bootstrapping-mode-config branch March 12, 2026 20:25
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.

4 participants