railiance-platform/helm/openbao-ui-overlay-k8s.yaml
codex 7fbba919c5 RPF-WP-0063-T01: prepare wave-2 requests (ESO, openbao UI gateway, forgejo-db)
Requests only, limits unchanged; no apply. ESO values file for the Helm
release (+ draft Application mirror), openbao-ui-gateway CPU 25m->10m,
forgejo-db 105m/288Mi. Playwright change lives in rapp-playwright 1557742.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 276069@bnt-lap001
Assistant-Session: 2e192b3d-b3e8-4403-94d4-d55a2c8b476c
2026-10-22 00:05:54 +02:00

89 lines
2.4 KiB
YAML

# OpenBao browser UI gateway — injects the KeyCape login overlay and proxies
# to the OpenBao service. The gateway is ClusterIP-only and is reached through
# the named openbao-ui-railiance01 operator tunnel.
#
# ConfigMap data is applied by scripts/openbao-ui-overlay-apply.sh from
# helm/openbao-ui-overlay/*.
apiVersion: apps/v1
kind: Deployment
metadata:
name: openbao-ui-gateway
namespace: openbao
labels:
app.kubernetes.io/name: openbao-ui-gateway
app.kubernetes.io/part-of: railiance-platform
railiance-platform/component: secrets
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: openbao-ui-gateway
template:
metadata:
labels:
app.kubernetes.io/name: openbao-ui-gateway
app.kubernetes.io/part-of: railiance-platform
railiance-platform/component: secrets
spec:
containers:
- name: nginx
image: nginx:1.27-alpine
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8080
protocol: TCP
readinessProbe:
httpGet:
path: /ui/platform-overlay/presets.json
port: http
initialDelaySeconds: 3
periodSeconds: 10
livenessProbe:
httpGet:
path: /ui/platform-overlay/presets.json
port: http
initialDelaySeconds: 10
periodSeconds: 20
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 200m
memory: 128Mi
volumeMounts:
- name: nginx-config
mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
readOnly: true
- name: overlay-assets
mountPath: /etc/nginx/overlay
readOnly: true
volumes:
- name: nginx-config
configMap:
name: openbao-ui-gateway-nginx
- name: overlay-assets
configMap:
name: openbao-ui-overlay
---
apiVersion: v1
kind: Service
metadata:
name: openbao-ui-gateway
namespace: openbao
labels:
app.kubernetes.io/name: openbao-ui-gateway
app.kubernetes.io/part-of: railiance-platform
railiance-platform/component: secrets
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: openbao-ui-gateway
ports:
- name: http
port: 8080
targetPort: http
protocol: TCP