66 lines
1.9 KiB
YAML
66 lines
1.9 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: element-web
|
|
labels:
|
|
helm.sh/chart: element-web-1.4.34
|
|
app.kubernetes.io/name: element-web
|
|
app.kubernetes.io/instance: element-web
|
|
app.kubernetes.io/version: "1.12.14"
|
|
app.kubernetes.io/managed-by: Helm
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: element-web
|
|
app.kubernetes.io/instance: element-web
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
checksum/config: 64d8ed34284273d2cc59a67794503585952ed512f671ed7c5cb5728d243d42e7
|
|
checksum/config-nginx: 2ba75cba9f04f2f96cf46a6c07dfc37c27cacb51a82c99136a817233d2462327
|
|
labels:
|
|
app.kubernetes.io/name: element-web
|
|
app.kubernetes.io/instance: element-web
|
|
spec:
|
|
serviceAccountName: element-web
|
|
securityContext: {}
|
|
containers:
|
|
- name: element-web
|
|
securityContext: {}
|
|
image: "ghcr.io/element-hq/element-web:v1.12.15@sha256:c7fa40b5ba3891f8af3ce63da0818f457c1802a9ee4d2f5e46a9df36a2388eed"
|
|
imagePullPolicy: IfNotPresent
|
|
env:
|
|
- name: ELEMENT_WEB_PORT
|
|
value: '8080'
|
|
ports:
|
|
- name: http
|
|
containerPort: 8080
|
|
protocol: TCP
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: http
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: http
|
|
resources:
|
|
requests:
|
|
cpu: 1m
|
|
memory: 10Mi
|
|
volumeMounts:
|
|
- mountPath: /app/config.json
|
|
name: config
|
|
subPath: config.json
|
|
- mountPath: /etc/nginx/conf.d/config.json
|
|
name: config-nginx
|
|
subPath: config.json
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: element-web
|
|
- name: config-nginx
|
|
configMap:
|
|
name: element-web-nginx
|