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

@@ -1,14 +1,14 @@
#!/usr/bin/env bash
#
# switchboard-ca.sh — Certificate provisioning for Switchboard Core mTLS.
# armature-ca.sh — Certificate provisioning for Armature mTLS.
#
# Wraps openssl to generate a cluster CA, node certificates (ServerAuth +
# ClientAuth), and user certificates (ClientAuth only). All output is PEM.
#
# Usage:
# switchboard-ca init
# switchboard-ca issue-node --name <node-name> --san <dns1,ip1,...>
# switchboard-ca issue-user --cn <username> [--email <email>]
# armature-ca init
# armature-ca issue-node --name <node-name> --san <dns1,ip1,...>
# armature-ca issue-user --cn <username> [--email <email>]
#
# Files are written to the current directory under ca/, nodes/, users/.
@@ -52,7 +52,7 @@ cmd_init() {
-key "$CA_DIR/cluster-ca.key" \
-out "$CA_DIR/cluster-ca.crt" \
-days "$CA_DAYS" \
-subj "/CN=Switchboard Cluster CA" \
-subj "/CN=Armature Cluster CA" \
-addext "basicConstraints=critical,CA:TRUE" \
-addext "keyUsage=critical,keyCertSign,cRLSign" \
2>/dev/null

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# ============================================
# Switchboard Core - Database Bootstrap
# Armature - Database Bootstrap
# ============================================
# Idempotent: safe to run on every CI build.
# Creates the app role and database if they

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# ============================================
# Switchboard Core - Database Migration Runner
# Armature - Database Migration Runner
# ============================================
# NOTE: The Go backend auto-migrates on startup.
# This script is for manual/emergency use only.

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# ============================================
# Switchboard Core - Schema Validation (v0.16)
# Armature - Schema Validation (v0.16)
# ============================================
# Verifies the database schema is correct after
# migration. Checks expected tables, key columns,