refactor: rename all custom K8s components to hightower

Namespace, Temporal, router, PVCs, labels, and GHCR API image all
renamed from shannon-* to hightower-*. Upstream references preserved:
worker image (ghcr.io/farhoodliquor/shannon), .shannon/ dirs,
@shannon/worker package imports.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-20 09:17:02 -04:00
parent 7b16bf98f7
commit 60ba428d2b
13 changed files with 50 additions and 50 deletions
+2 -2
View File
@@ -28,9 +28,9 @@ export function loadConfig(): Config {
return {
port: Number(process.env.PORT) || 3000,
temporalAddress: process.env.TEMPORAL_ADDRESS || 'shannon-temporal:7233',
temporalAddress: process.env.TEMPORAL_ADDRESS || 'hightower-temporal:7233',
apiKey,
k8sNamespace: process.env.K8S_NAMESPACE || 'shannon',
k8sNamespace: process.env.K8S_NAMESPACE || 'hightower',
workerImage,
workspacesDir: process.env.WORKSPACES_DIR || '/app/workspaces',
credentialsSecretName: process.env.CREDENTIALS_SECRET_NAME || 'hightower-credentials',
+4 -4
View File
@@ -87,7 +87,7 @@ export function buildJobSpec(params: JobParams): k8s.V1Job {
}
// 4. Env vars
const env: k8s.V1EnvVar[] = [{ name: 'TEMPORAL_ADDRESS', value: 'shannon-temporal:7233' }];
const env: k8s.V1EnvVar[] = [{ name: 'TEMPORAL_ADDRESS', value: 'hightower-temporal:7233' }];
// 5. Construct the Job
return {
@@ -98,8 +98,8 @@ export function buildJobSpec(params: JobParams): k8s.V1Job {
namespace: params.namespace,
labels: {
app: WORKER_LABEL,
'shannon.io/workspace': params.workspace,
'shannon.io/scan-id': params.jobName,
'hightower.io/workspace': params.workspace,
'hightower.io/scan-id': params.jobName,
},
},
spec: {
@@ -109,7 +109,7 @@ export function buildJobSpec(params: JobParams): k8s.V1Job {
metadata: {
labels: {
app: WORKER_LABEL,
'shannon.io/workspace': params.workspace,
'hightower.io/workspace': params.workspace,
},
},
spec: {
+1 -1
View File
@@ -106,7 +106,7 @@ export async function listScans(
const jobs = await listWorkerJobs(batchApi, config.k8sNamespace);
for (const job of jobs) {
const jobName = job.metadata?.name ?? '';
const workspace = job.metadata?.labels?.['shannon.io/workspace'] ?? jobName;
const workspace = job.metadata?.labels?.['hightower.io/workspace'] ?? jobName;
const startTime = job.status?.startTime;
results.push({