Add K8s manifests for calendars backend, frontend (Caddy), CalDAV server, and Celery worker. Wire Pingora routing for cal.sunbeam.pt with path-based backend/caldav/static splits. Add OAuth2Client for OIDC, VaultDynamicSecret for DB credentials, VaultStaticSecret for Django/CalDAV keys, and TLS cert coverage for the cal subdomain. Register calendars in the integration service gaufre widget.
36 lines
803 B
YAML
36 lines
803 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: calendars-frontend
|
|
namespace: lasuite
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: calendars-frontend
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: calendars-frontend
|
|
spec:
|
|
containers:
|
|
- name: calendars-frontend
|
|
image: calendars-frontend
|
|
ports:
|
|
- containerPort: 8080
|
|
volumeMounts:
|
|
- name: caddyfile
|
|
mountPath: /etc/caddy/Caddyfile
|
|
subPath: Caddyfile
|
|
resources:
|
|
limits:
|
|
memory: 128Mi
|
|
cpu: 100m
|
|
requests:
|
|
memory: 64Mi
|
|
cpu: 10m
|
|
volumes:
|
|
- name: caddyfile
|
|
configMap:
|
|
name: calendars-frontend-caddyfile
|