37 lines
812 B
YAML
37 lines
812 B
YAML
|
---
|
||
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: element
|
||
|
name: element
|
||
|
namespace: matrix
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: element
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: element
|
||
|
spec:
|
||
|
containers:
|
||
|
- image: bv11-cr01.bessems.eu/proxy/vectorim/element-web:latest
|
||
|
name: element
|
||
|
ports:
|
||
|
- containerPort: 80
|
||
|
name: web
|
||
|
volumeMounts:
|
||
|
- mountPath: /app/config.json
|
||
|
name: configmap-element
|
||
|
subPath: config.json
|
||
|
- name: configmap-element
|
||
|
mountPath: /docker-entrypoint.d/99-disable-ipv6.sh
|
||
|
subPath: 99-disable-ipv6.sh
|
||
|
volumes:
|
||
|
- name: configmap-element
|
||
|
configMap:
|
||
|
name: configmap-element
|
||
|
defaultMode: 0777
|