All checks were successful
check agents / check (push) Successful in 10s
ALZ-F01 Discovery as a sub-agent orchestrator (sub-agents/) and as eight individual declarative agents (individual-agents/), with their KAB workflow exports. Shared check, render and import scripts, the alz-discovery-sample MCP server, the crucible-kab-dev deploy profile, deployment docs, platform issue reports and the source material. Agent steps time out at 20 minutes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
154 lines
5.2 KiB
YAML
154 lines
5.2 KiB
YAML
# MCP Gateway Deployment for kab-dev (namespace core-components), from the live object of Helm release `kyn`.
|
|
#
|
|
# Server-generated fields (status, uid, resourceVersion, creationTimestamp, generation, the revision annotation)
|
|
# are removed so this file can be applied. Helm owns this object: a manual apply is overwritten by the next
|
|
# `helm upgrade`, so make lasting changes in the release's values file too.
|
|
#
|
|
# Tenancy (see documents/kab-dev-mcp-gateway-default-tenant-500-2026-10-29.md):
|
|
# - DEFAULT_TENANT_ID is read by the gateway (settings.default_tenant_id) and must stay "default": the database
|
|
# default and the row-level security policies hard-code 'default' as the effective tenant in single mode.
|
|
# - KAB's default tenant id is NOT configured here. The gateway maps it through the tenant row's external_id,
|
|
# which mcp-gateway-link-default-tenant.job.yaml sets. A TENANT_ID variable is not read by the gateway, and the
|
|
# earlier draft's reference to a Secret named "default" would have stopped the pod starting
|
|
# (CreateContainerConfigError).
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
meta.helm.sh/release-name: kyn
|
|
meta.helm.sh/release-namespace: core-components
|
|
labels:
|
|
app.kubernetes.io/instance: kyn
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: agent-builder-mcp-gateway
|
|
app.kubernetes.io/version: latest
|
|
helm.sh/chart: agent-builder-mcp-gateway-0.1.0
|
|
name: kyn-agent-builder-mcp-gateway
|
|
namespace: core-components
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/instance: kyn
|
|
app.kubernetes.io/name: agent-builder-mcp-gateway
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 25%
|
|
maxUnavailable: 25%
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/instance: kyn
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: agent-builder-mcp-gateway
|
|
app.kubernetes.io/version: latest
|
|
helm.sh/chart: agent-builder-mcp-gateway-0.1.0
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: ENVIRONMENT
|
|
value: production
|
|
- name: DEBUG
|
|
value: "false"
|
|
- name: HOST
|
|
value: 0.0.0.0
|
|
- name: PORT
|
|
value: "8000"
|
|
- name: DATABASE_URL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: mcp-gateway-database-url
|
|
name: agent-builder-secrets
|
|
- name: INTERNAL_SERVICE_TOKEN
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: token
|
|
name: internal-service-secret
|
|
- name: DATABASE_POOL_SIZE
|
|
value: "20"
|
|
- name: REDIS_URL
|
|
value: redis://redis.kab-data.svc.cluster.local:6379/0
|
|
- name: REDIS_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: redis-password
|
|
name: agent-builder-secrets
|
|
- name: JWT_SECRET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: mcp-gateway-jwt-secret
|
|
name: agent-builder-secrets
|
|
- name: MCP_ENCRYPTION_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: mcp-encryption-key
|
|
name: agent-builder-secrets
|
|
- name: AUTH_ENABLED
|
|
value: "true"
|
|
- name: CORS_ORIGINS
|
|
value: '["https://app.kab-dev.kyndemo.live"]'
|
|
- name: OIDC_ENABLED
|
|
value: "true"
|
|
- name: OIDC_AUTHORITY
|
|
value: https://id.kab-dev.kyndemo.live/realms/kab
|
|
- name: OIDC_AUDIENCE
|
|
value: account
|
|
- name: OIDC_DEFAULT_ROLES
|
|
value: '["viewer"]'
|
|
- name: ADMIN_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: mcp-gateway-admin-password
|
|
name: agent-builder-secrets
|
|
- name: MCP_GATEWAY_TENANCY_MODE
|
|
value: single
|
|
# The gateway's own default tenant id. Keep "default": the RLS policies and the column default use it.
|
|
- name: DEFAULT_TENANT_ID
|
|
value: default
|
|
image: cruciblecoredevacr.azurecr.io/kab/agent-builder-mcp-gateway:v3.1.1
|
|
imagePullPolicy: Always
|
|
livenessProbe:
|
|
failureThreshold: 5
|
|
httpGet:
|
|
path: /health/live
|
|
port: 8000
|
|
scheme: HTTP
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 15
|
|
successThreshold: 1
|
|
timeoutSeconds: 5
|
|
name: agent-builder-mcp-gateway
|
|
ports:
|
|
- containerPort: 8000
|
|
name: http
|
|
protocol: TCP
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /health/ready
|
|
port: 8000
|
|
scheme: HTTP
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 5
|
|
resources:
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 200m
|
|
memory: 512Mi
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
serviceAccount: default
|
|
serviceAccountName: default
|
|
terminationGracePeriodSeconds: 30
|