Skip to content

test(tmachine): add a multi-node k3s environment for node-local SPIRE Broker coverage #6249

Backlog

Description

@matthewgrossman

User Story

I maintain OpenShell's Kubernetes E2E coverage. I need a multi-node k3s environment so the node-local SPIFFE Broker test can run in CI instead of existing only as code.

Description

The destructive suite has a kubernetes-spire-node-local package that moves the gateway between nodes and checks that it reaches the SPIRE agent on its own node, with TCP 8443 restricted to that node. It needs at least two nodes. Every tmachine k3s environment runs one node, and tests/tmachine/ansible/playbooks/openshell-k3s.yaml fails if there is more than one, so the package has no e2e-suites.yml row.

Context

Definition of Done

  • A tmachine k3s environment with two or more nodes.
  • The token service is reachable from the gateway on any node.
  • An e2e-suites.yml row runs destructive/kubernetes-spire-node-local on k3s-spire-node-local, and it passes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions