rust-rewrite #2
Reference in New Issue
Block a user
Delete Branch "rust-rewrite"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- Add matrix to MANAGED_NS and tuwunel to restart/build targets - Add post-apply hooks for matrix namespace: - _patch_tuwunel_oauth2_redirect: reads client_id from hydra-maester Secret and patches OAuth2Client redirectUris dynamically - _inject_opensearch_model_id: reads model_id from ingest pipeline and writes to ConfigMap for tuwunel deployment env var injection - Add post-apply hook for data namespace: - _ensure_opensearch_ml: idempotently registers/deploys all-mpnet-base-v2 (768-dim) model, creates ingest + hybrid search pipelines - Add tuwunel secrets to OpenBao seed (OIDC, TURN, registration token) - Refactor secret seeding to only write dirty paths (avoid VSO churn) - Add ACME email fallback from config when not provided via CLI flagReplace anyhow::{bail, Context, Result} with crate::error::{Result, SunbeamError, ResultExt} across all modules. Each module uses the appropriate error variant (Kube, Secrets, Build, Identity, etc).- Check CNPG Cluster CRD status.phase instead of pod Running phase - DKIM public key: use SPKI format (BEGIN PUBLIC KEY) matching Python - Use kv_patch instead of kv_put for dirty paths (preserves external fields) - Vault KV only written when password is newly generated - Gitea exec passes container name Some("gitea") - Fix openbao comment (400 not 409)Config now supports named contexts (like kubectl), each bundling domain, kube-context, ssh-host, infra-dir, and acme-email. Legacy flat config auto-migrates to a "production" context on load. - sunbeam config set --domain sunbeam.pt --host user@server - sunbeam config use-context production - sunbeam config get (shows all contexts) Auth tokens stored per-domain (~/.local/share/sunbeam/auth/{domain}.json) so local and production don't clobber each other. pm and auth commands read domain from active context instead of K8s cluster discovery.