mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
bolletjestrui: deploy main-10268f1 (routes, voting, push, ride uploads)
Adds the VAPID keypair for web push and raises the ingress body limit to 25m to match the app's BODY_SIZE_LIMIT, since a bulk route import posts every GPX in one request. The VAPID env refs are optional:true on purpose — a missing key in a secretKeyRef puts the pod in CreateContainerConfigError, and the app already handles absent keys by sending no notifications.
This commit is contained in:
@@ -17,7 +17,7 @@ spec:
|
||||
app: bolletjestrui
|
||||
spec:
|
||||
containers:
|
||||
- image: ghcr.io/rubenhensen/bolletjestrui:main-8f17b5d
|
||||
- image: ghcr.io/rubenhensen/bolletjestrui:main-10268f1
|
||||
name: bolletjestrui
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
@@ -51,6 +51,24 @@ spec:
|
||||
secretKeyRef:
|
||||
name: bolletjestrui-secrets
|
||||
key: key_secret
|
||||
# Push notifications. optional:true is load-bearing: without it a missing
|
||||
# key leaves the pod in CreateContainerConfigError and the site is down,
|
||||
# which would make deploying this depend on the Vault entries landing
|
||||
# first. The app already treats absent VAPID keys as "send nothing".
|
||||
- name: VAPID_PUBLIC_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: bolletjestrui-secrets
|
||||
key: vapid_public_key
|
||||
optional: true
|
||||
- name: VAPID_PRIVATE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: bolletjestrui-secrets
|
||||
key: vapid_private_key
|
||||
optional: true
|
||||
- name: VAPID_SUBJECT
|
||||
value: mailto:ruben.hensen@protonmail.com
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
|
||||
Reference in New Issue
Block a user