Collabora stays (Drive needs it for WOPI document editing). Removed: Helm charts, values, nginx configs, patches, OIDC clients, Vault secrets, S3 buckets, Pingora routes, Kratos return URLs, overlay image overrides and resource patches, local-up.sh restarts.
110 lines
2.9 KiB
YAML
110 lines
2.9 KiB
YAML
# La Gaufre integration service — O Estúdio app launcher (La Gaufre v2).
|
|
# Serves the lagaufre.js v2 widget, SVG logos, and the v2 services API.
|
|
# Apps load gaufre.js which in turn initialises the v2 widget with the
|
|
# button already rendered by @gouvfr-lasuite/ui-kit.
|
|
#
|
|
# Image: src.DOMAIN_SUFFIX/studio/integration:latest
|
|
# Built from sunbeam/integration-service/ (context: sunbeam/ root)
|
|
# Baked in: lagaufre.js v2, official La Suite logos, custom logos, gaufre.js, nginx.conf
|
|
#
|
|
# ConfigMap: only services.json (v2 format) — the one thing that varies per env
|
|
# DOMAIN_SUFFIX substituted at deploy time.
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: integration-config
|
|
namespace: lasuite
|
|
data:
|
|
services.json: |
|
|
{
|
|
"services": [
|
|
{
|
|
"name": "Calendar",
|
|
"url": "https://cal.DOMAIN_SUFFIX",
|
|
"logo": "https://integration.DOMAIN_SUFFIX/logos/calendar.svg?v=1"
|
|
},
|
|
{
|
|
"name": "Drive",
|
|
"url": "https://drive.DOMAIN_SUFFIX",
|
|
"logo": "https://integration.DOMAIN_SUFFIX/logos/drive.svg?v=1"
|
|
},
|
|
{
|
|
"name": "Mail",
|
|
"url": "https://mail.DOMAIN_SUFFIX",
|
|
"logo": "https://integration.DOMAIN_SUFFIX/logos/mail.svg?v=1"
|
|
},
|
|
{
|
|
"name": "Meet",
|
|
"url": "https://meet.DOMAIN_SUFFIX",
|
|
"logo": "https://integration.DOMAIN_SUFFIX/logos/visio.svg?v=2"
|
|
},
|
|
{
|
|
"name": "Projects",
|
|
"url": "https://projects.DOMAIN_SUFFIX",
|
|
"logo": "https://integration.DOMAIN_SUFFIX/logos/projects.svg?v=1"
|
|
},
|
|
{
|
|
"name": "Source Code",
|
|
"url": "https://src.DOMAIN_SUFFIX",
|
|
"logo": "https://integration.DOMAIN_SUFFIX/logos/docs.svg?v=1"
|
|
},
|
|
{
|
|
"name": "Account",
|
|
"url": "https://auth.DOMAIN_SUFFIX",
|
|
"logo": "https://integration.DOMAIN_SUFFIX/logos/account.svg?v=1"
|
|
}
|
|
]
|
|
}
|
|
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: integration
|
|
namespace: lasuite
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: integration
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: integration
|
|
spec:
|
|
containers:
|
|
- name: integration
|
|
image: integration
|
|
ports:
|
|
- name: http
|
|
containerPort: 80
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /etc/integration/services.json
|
|
subPath: services.json
|
|
resources:
|
|
limits:
|
|
memory: 32Mi
|
|
requests:
|
|
memory: 16Mi
|
|
cpu: 5m
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: integration-config
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: integration
|
|
namespace: lasuite
|
|
spec:
|
|
selector:
|
|
app: integration
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
targetPort: 80
|