homek8s/apps/base/osint/ingester-deployment.yaml
Lance Walters 426fc24d66 apps(osint): pin the auth build and wire the single-admin Secret
osint-dashboard master d8113b37b8ac adds app/auth.py: deny-by-default on
/api/* with a public read allowlist, so visitors get the map + news and only
the admin gets keys/settings/mutations. Pin the amd64 image (:amd64-d8113b37b8ac)
on app, camera-service and ingester, and feed ADMIN_USER /
ADMIN_PASSWORD_HASH / ADMIN_SESSION_SECRET from Secret osint-admin.

The refs are optional: true on purpose — a missing Secret must not stop the
pod; the app then fails closed (admin routes 403) while the public HUD serves.
2026-11-13 21:06:43 -05:00

43 lines
1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: osint-ingester
namespace: osint
labels:
app: osint-ingester
spec:
replicas: 1
selector:
matchLabels:
app: osint-ingester
template:
metadata:
labels:
app: osint-ingester
spec:
tolerations:
- key: dedicated
operator: Exists
effect: PreferNoSchedule
nodeSelector:
kubernetes.io/hostname: siriussec
containers:
- name: ingester
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-d8113b37b8ac
imagePullPolicy: IfNotPresent
command: ["python", "app/run_ingester.py"]
envFrom:
- configMapRef:
name: osint-env
env:
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: osint-db
key: password
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 512Mi