rebrand: Switchboard Core → Armature

- Rename Go module switchboard-core → armature (155+ files)
- Rename Docker image → gobha/armature
- Rename K8s resources, secrets, deployments
- Rename Prometheus metrics switchboard_* → armature_*
- Rename env vars SWITCHBOARD_ADMIN_* → ARMATURE_ADMIN_*
- Rename DB names switchboard_core* → armature*
- Update all frontend branding, notification templates, docs
- Update CI scripts, e2e tests, Keycloak realm, nginx conf
- Rename scripts/switchboard-ca.sh → scripts/armature-ca.sh
- Rename k8s/switchboard.yaml → k8s/armature.yaml
- Rename chart alerting/dashboard files
- Fix: DockerHub push uses env: binding for secret injection
- Helm chart updated (name, labels, template functions, dashboard, alerting)
- Replace favicon/icon assets with Armature brand

No functional changes. Pure mechanical rename + CI fix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-31 21:39:58 +00:00
parent fb5284f667
commit f0dd43144e
287 changed files with 898 additions and 975 deletions

View File

@@ -5,8 +5,8 @@ import (
"database/sql"
"encoding/json"
"switchboard-core/models"
"switchboard-core/store"
"armature/models"
"armature/store"
)
type AuditStore struct{}

View File

@@ -6,7 +6,7 @@ import (
"fmt"
"time"
"switchboard-core/store"
"armature/store"
)
// ClusterStore manages node_registry — Postgres-only UNLOGGED table.

View File

@@ -6,7 +6,7 @@ import (
"encoding/json"
"fmt"
"switchboard-core/models"
"armature/models"
)
// ── ConnectionStore ────────────────────────

View File

@@ -4,7 +4,7 @@ import (
"context"
"database/sql"
"switchboard-core/models"
"armature/models"
)
// ── DependencyStore ────────────────────────

View File

@@ -5,7 +5,7 @@ import (
"database/sql"
"time"
"switchboard-core/models"
"armature/models"
)
type ExtensionPermissionStore struct {

View File

@@ -5,7 +5,7 @@ import (
"database/sql"
"encoding/json"
"switchboard-core/models"
"armature/models"
)
type GlobalConfigStore struct{}

View File

@@ -7,8 +7,8 @@ import (
"errors"
"fmt"
"switchboard-core/models"
"switchboard-core/store"
"armature/models"
"armature/store"
)
// ── GroupStore ──────────────────────────────

View File

@@ -4,7 +4,7 @@ import (
"context"
"time"
"switchboard-core/database"
"armature/database"
)
// ── HealthStore ─────────────────────────────

View File

@@ -6,7 +6,7 @@ import (
"fmt"
"strings"
"switchboard-core/store"
"armature/store"
)
// DB is the shared database connection pool.

View File

@@ -5,7 +5,7 @@ import (
"database/sql"
"time"
"switchboard-core/models"
"armature/models"
)
type NotificationStore struct{}

View File

@@ -4,7 +4,7 @@ import (
"context"
"database/sql"
"switchboard-core/models"
"armature/models"
)
type NotificationPreferenceStore struct{}

View File

@@ -5,7 +5,7 @@ import (
"database/sql"
"encoding/json"
"switchboard-core/store"
"armature/store"
)
type PackageStore struct{}

View File

@@ -4,7 +4,7 @@ import (
"context"
"database/sql"
"switchboard-core/models"
"armature/models"
"github.com/lib/pq"
)

View File

@@ -7,8 +7,8 @@ import (
"fmt"
"time"
"switchboard-core/models"
"switchboard-core/store"
"armature/models"
"armature/store"
)
type ScheduledTaskStore struct{}

View File

@@ -3,7 +3,7 @@ package postgres
import (
"database/sql"
"switchboard-core/store"
"armature/store"
)
// NewStores creates all Postgres store implementations and wires them

View File

@@ -5,7 +5,7 @@ import (
"database/sql"
"encoding/json"
"switchboard-core/models"
"armature/models"
)
type TeamStore struct{}

View File

@@ -7,8 +7,8 @@ import (
"fmt"
"time"
"switchboard-core/models"
"switchboard-core/store"
"armature/models"
"armature/store"
)
type TriggerStore struct{}

View File

@@ -7,8 +7,8 @@ import (
"strings"
"time"
"switchboard-core/models"
"switchboard-core/store"
"armature/models"
"armature/store"
)
type UserStore struct{}

View File

@@ -5,8 +5,8 @@ import (
"encoding/json"
"fmt"
"switchboard-core/models"
"switchboard-core/store"
"armature/models"
"armature/store"
)
// WorkflowStore implements store.WorkflowStore for Postgres.