Research-Stack/4-Infrastructure/k3s-flake/manifests/credential-server/deployment.yaml
Brandon Schneider 69b984c410 fix(infra): resolve k3s services startup issues and update ingress configuration
- Revert builder image in embedded_surface Dockerfile to rust:bookworm for glibc compatibility with bookworm-slim runner.
- Replace racknerd-surface.json Git LFS pointer with the actual retrieved JSON config to resolve parse errors.
- Separated and imported regenerated docker images for stubs and credential-server on all cluster nodes.
- Fixed Ingress resources and middleware to target the correct authentik-server service name.
- Rewrote verification script checks to handle iptables-based ports and relative redirects robustly.
- Updated nixos-laptop IP in node topology documentation.

Build: 0 jobs, 0 errors
2026-05-27 17:39:00 -05:00

48 lines
1.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: credential-server
namespace: services
labels:
app: credential-server
spec:
replicas: 1
selector:
matchLabels:
app: credential-server
template:
metadata:
labels:
app: credential-server
spec:
containers:
- name: credential-server
image: registry.researchstack.info/infra/credential-server:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8444
name: http
env:
- name: RS_CREDENTIAL_CONFIG
value: /etc/credential-server/credentials.json
- name: RS_SURFACE_PORT
value: "8444"
- name: RS_SURFACE_HOST
value: "0.0.0.0"
- name: RUST_LOG
value: "info"
volumeMounts:
- name: config
mountPath: /etc/credential-server
readOnly: true
resources:
requests:
memory: 64Mi
cpu: 50m
limits:
memory: 128Mi
volumes:
- name: config
secret:
secretName: credential-server-config
optional: true