refactor: remove La Suite services (except Meet + Collabora), delete local overlay
La Suite Messages, Calendars, Drive, Projects, Hive, Integration, and Postfix are replaced by Stalwart (mail) and Tuwunel (messaging). Meet and Collabora remain for video conferencing and document editing. Local overlay was POC only — all deployment targets production now. Deleted: 37 La Suite manifests, Drive Helm chart, 7 local overlay files, stale MTA-in hostPort patch. Cleaned up production image overrides and resource patches for removed services.
This commit is contained in:
@@ -1,163 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: calendars-backend
|
||||
namespace: lasuite
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: calendars-backend
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: calendars-backend
|
||||
spec:
|
||||
initContainers:
|
||||
- name: migrate
|
||||
image: calendars-backend
|
||||
command: ["python", "manage.py", "migrate", "--no-input"]
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: calendars-config
|
||||
- configMapRef:
|
||||
name: lasuite-postgres
|
||||
- configMapRef:
|
||||
name: lasuite-oidc-provider
|
||||
env:
|
||||
- name: DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: calendars-db-credentials
|
||||
key: password
|
||||
- name: DJANGO_SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: calendars-django-secret
|
||||
key: DJANGO_SECRET_KEY
|
||||
- name: SALT_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: calendars-django-secret
|
||||
key: SALT_KEY
|
||||
- name: CALDAV_INBOUND_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: calendars-django-secret
|
||||
key: CALDAV_INBOUND_API_KEY
|
||||
- name: CALDAV_OUTBOUND_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: calendars-django-secret
|
||||
key: CALDAV_OUTBOUND_API_KEY
|
||||
- name: CALDAV_INTERNAL_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: calendars-django-secret
|
||||
key: CALDAV_INTERNAL_API_KEY
|
||||
- name: OIDC_RP_CLIENT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: oidc-calendars
|
||||
key: CLIENT_ID
|
||||
- name: OIDC_RP_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: oidc-calendars
|
||||
key: CLIENT_SECRET
|
||||
resources:
|
||||
limits:
|
||||
memory: 512Mi
|
||||
cpu: 500m
|
||||
requests:
|
||||
memory: 128Mi
|
||||
cpu: 100m
|
||||
containers:
|
||||
- name: calendars-backend
|
||||
image: calendars-backend
|
||||
command:
|
||||
- gunicorn
|
||||
- -c
|
||||
- /app/gunicorn.conf.py
|
||||
- calendars.wsgi:application
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: calendars-config
|
||||
- configMapRef:
|
||||
name: lasuite-postgres
|
||||
- configMapRef:
|
||||
name: lasuite-oidc-provider
|
||||
env:
|
||||
- name: DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: calendars-db-credentials
|
||||
key: password
|
||||
- name: DJANGO_SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: calendars-django-secret
|
||||
key: DJANGO_SECRET_KEY
|
||||
- name: SALT_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: calendars-django-secret
|
||||
key: SALT_KEY
|
||||
- name: CALDAV_INBOUND_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: calendars-django-secret
|
||||
key: CALDAV_INBOUND_API_KEY
|
||||
- name: CALDAV_OUTBOUND_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: calendars-django-secret
|
||||
key: CALDAV_OUTBOUND_API_KEY
|
||||
- name: CALDAV_INTERNAL_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: calendars-django-secret
|
||||
key: CALDAV_INTERNAL_API_KEY
|
||||
- name: OIDC_RP_CLIENT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: oidc-calendars
|
||||
key: CLIENT_ID
|
||||
- name: OIDC_RP_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: oidc-calendars
|
||||
key: CLIENT_SECRET
|
||||
volumeMounts:
|
||||
- name: theme
|
||||
mountPath: /app/theme.json
|
||||
subPath: theme.json
|
||||
- name: translations
|
||||
mountPath: /data/translations.json
|
||||
subPath: translations.json
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 8000
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 20
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: 8000
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
resources:
|
||||
limits:
|
||||
memory: 512Mi
|
||||
cpu: 500m
|
||||
requests:
|
||||
memory: 256Mi
|
||||
cpu: 100m
|
||||
volumes:
|
||||
- name: theme
|
||||
configMap:
|
||||
name: calendars-theme
|
||||
- name: translations
|
||||
configMap:
|
||||
name: calendars-translations
|
||||
Reference in New Issue
Block a user