Skip to content

Add SMTP configuration to General Settings - #700

Open
TimeBye wants to merge 6 commits into
kite-org:mainfrom
TimeBye:email
Open

Add SMTP configuration to General Settings#700
TimeBye wants to merge 6 commits into
kite-org:mainfrom
TimeBye:email

Conversation

@TimeBye

@TimeBye TimeBye commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add SMTP configuration to General Settings, including enablement, authentication, encryption, timeout, and sender details.
  • Add test-email support using the current form values without persisting them.
  • Support SMTP configuration through the smtp section in KITE_CONFIG_FILE.
  • Restrict Settings access to administrators and localize the access-denied page.
  • Add SMTP UI, backend, unit, E2E, and documentation coverage.

Why

Administrators need a built-in way to configure and validate SMTP delivery for future email-based features. SMTP configuration should also support configuration-file management for GitOps-style deployments.

Related issue

Closes #699

Validation

go test ./internal ./pkg/settings ./pkg/auth
npm test -- src/components/settings/general-management.test.tsx
npm run type-check
npm run lint
npx prettier --check …
git diff --check

Checklist

  • I reviewed this PR myself before requesting review.
  • I understand the changes, including AI-generated parts (if any).
  • For new features, a feature request issue is linked.
  • I cleaned up AI noise (unnecessary comments, dead code, and unrelated changes).
  • This PR is reasonably scoped (or split into smaller PRs).

- Add reusable token issuance and authentication primitives
- Persist kubeconfig token metadata and cluster UUIDs
- Add token configuration, storage, and lifecycle tests
- Generate kubeconfigs for authorized clusters
- Authenticate Kubernetes proxy requests with revocable tokens
- Enforce cluster and RBAC checks for proxied operations
- Cover download, token management, and proxy behavior
- Refresh clusters without unmounting the download dialog
- Add download and token management interfaces
- Add selection summary and matching-cluster controls
- Add localized text and component coverage
- Add dedicated kubeconfig JWT secret and key ID settings
- Preserve generated secrets across Helm upgrades
- Document environment variables and deployment requirements
- Verify the kubeconfig download entry point
- Wait for the named download dialog before exercising the flow
- Cover the end-to-end cluster selection flow
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.

新增 SMTP 管理

1 participant