Skip to content

Add customer-side proxy self-check - #289

Open
JayChung0258 wants to merge 1 commit into
mainfrom
s2s-proxy-preflight-self-check
Open

JayChung0258 wants to merge 1 commit into
mainfrom
s2s-proxy-preflight-self-check

Conversation

@JayChung0258

Copy link
Copy Markdown
Contributor

What changed

  • Added s2s-proxy validate --only proxy for customer-side proxy pods.
  • Added generic checks for config structure, TLS files, ACLs, namespace mappings, callback syntax, numeric settings, config freshness, and local listeners.
  • Added text and JSON output with stable exit codes.
  • Added command documentation and test coverage.

Scope

This check reads the customer-provided config and local pod state. It does not contact the customer Temporal cluster, Temporal Cloud, or the Kubernetes API. A successful result means the setup is internally consistent and possible to use. It does not verify customer-specific values against a separate specification.

Testing

  • make lint
  • go test -race -tags test_dep -count=1 ./app ./encryption ./preflight
  • make s2s-proxy
  • git diff --check origin/main...HEAD

@JayChung0258
JayChung0258 requested a review from a team as a code owner September 11, 2026 23:01
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.

1 participant