Skip to content

e2e: run the identity suite with the others - #2227

Merged
Benjamin Elder (BenTheElder) merged 1 commit into
agent-substrate:mainfrom
LiorLieberman:fix-ci-identity
Oct 6, 2026
Merged

Benjamin Elder (BenTheElder) merged 1 commit into
agent-substrate:mainfrom
LiorLieberman:fix-ci-identity

Conversation

@LiorLieberman

Copy link
Copy Markdown
Collaborator

#2015 moved the identity suite into its own CI jobs. The test replaced the cluster-wide egress CA pool and caused actors stopped trusting the old CA right away, while gateways kept signing with the old ca until kubelet refreshed their Secret. This caused TLS TLS to fail for any suite running at the same time and therfore we splitted it.

The suite now adds a fresh CA that never signs and restores the pool when it ends. Bundles are compared as the same PEM blocks in any order, because atelet shuffles bundles with more than one certificate.

What the suite checks (exact file contents, live refresh, suspend/resume) is unchanged, and new unit tests check that the signing CA never changes.

  • Tests pass
  • Appropriate changes to documentation are included in the PR

Comment thread internal/e2e/probe.go
// Only suites that ASSERT the projection ask for it. The bundle is derived
// from a single cluster-wide Secret, so a suite that merely needs a probe must
// not depend on it: it would then fail whenever the suite that owns the pool
// finishes and takes the bundle with it. For the same reason two suites that

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: in CI the install now creates the pool, so this is stale?

@BenTheElder
Benjamin Elder (BenTheElder) added this pull request to the merge queue Oct 6, 2026
Merged via the queue into agent-substrate:main with commit 43e08df Oct 6, 2026
14 checks passed
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