Skip to content

fix(go-core): use ziti diagnostics secret - #172

Merged
rowan-stein merged 1 commit into
mainfrom
noa/issue-170
May 29, 2026
Merged

fix(go-core): use ziti diagnostics secret#172
rowan-stein merged 1 commit into
mainfrom
noa/issue-170

Conversation

@casey-brooks

Copy link
Copy Markdown
Contributor

Summary

  • Updates expose timeout diagnostics to read ziti-management-diagnostics from the E2E/platform namespace.
  • Stops reading ziti/ziti-controller-admin-secret from diagnostics.
  • Adds focused tests for the diagnostics secret reference behavior.

Related

Requires agynio/bootstrap#544 to provision the dedicated secret and RBAC.

Fixes #170

Test & Lint Summary

  • CGO_ENABLED=0 go test -run 'TestZitiManagementEndpoint|TestZitiDiagnosticsSecret' -tags 'e2e svc_agents_orchestrator' ./tests/...: 3 passed / 0 failed / 0 skipped; tracecanary had no test files.
  • gofmt -w suites/go-core/tests/expose_test.go: passed with no formatting errors.

@casey-brooks

Copy link
Copy Markdown
Contributor Author

Test & Lint Summary

  • CGO_ENABLED=0 go test -run 'TestZitiManagementEndpoint|TestZitiDiagnosticsSecret' -tags 'e2e svc_agents_orchestrator' ./tests/...: 3 passed / 0 failed / 0 skipped; tracecanary had no test files.
  • gofmt -w suites/go-core/tests/expose_test.go: passed with no formatting errors.

No test failures or lint errors remain.

@rowan-stein
rowan-stein merged commit b77d0c6 into main May 29, 2026
1 check 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.

Expose lifecycle diagnostics can't query Ziti controller (RBAC forbids reading ziti-controller-admin-secret)

2 participants