8d27f191bf
AutoCraft (IUCLabs/autocraft) needs a home in the cluster: one SQLite-backed pod running dashboard, runner and sync, signing in through the iuclabs-coder GitHub App. - add autocraft StatefulSet (1 replica, data/config PVCs) with bwrap runner settings - render secrets.json from kv/service/github/iuclabs/coder via VSO; init container installs it 0600 with a persistent session key - restart the StatefulSet when the Vault secret changes - serve autocraft.unkin.net from traefik-external with the reflected wildcard cert - register autocraft in the aitooling ApplicationSet/AppProject Requires IUCLabs/terraform-vault #11 applied first. Reviewed-on: #595 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
24 lines
569 B
YAML
24 lines
569 B
YAML
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: AppProject
|
|
metadata:
|
|
name: aitooling
|
|
namespace: argocd
|
|
spec:
|
|
description: AI tooling services
|
|
sourceRepos:
|
|
- https://git.unkin.net/unkin/argocd-apps
|
|
destinations:
|
|
- namespace: 'autocraft'
|
|
server: https://kubernetes.default.svc
|
|
- namespace: 'litellm'
|
|
server: https://kubernetes.default.svc
|
|
- namespace: 'paperclip'
|
|
server: https://kubernetes.default.svc
|
|
clusterResourceWhitelist:
|
|
- group: ''
|
|
kind: Namespace
|
|
namespaceResourceWhitelist:
|
|
- group: '*'
|
|
kind: '*'
|